Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 1d98742

Browse files
committed
resolve warnings
1 parent 936857e commit 1d98742

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

crates/util/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ fn do_eval(basis: &str, op: &str, inputs: &[&str]) {
9696
| fdimf16
9797
| floorf128
9898
| floorf16
99+
| fmaf16
99100
| rintf128
100101
| rintf16
101102
| sqrtf128

src/math/generic/fma.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
use super::super::fenv::{
2-
FE_INEXACT, FE_TONEAREST, FE_UNDERFLOW, feclearexcept, fegetround, feraiseexcept, fetestexcept,
3-
};
1+
use super::super::fenv::{FE_TONEAREST, fegetround};
42
use super::super::{CastFrom, CastInto, DFloat, Float, HFloat, Int, IntTy, MinInt};
53

64
/// FMA implementation when a hardware-backed larger float type is available.
@@ -16,7 +14,7 @@ where
1614
let one = IntTy::<B>::ONE;
1715

1816
let xy: B;
19-
let mut result: B;
17+
let result: B;
2018
let mut ui: B::Int;
2119
let e: i32;
2220

0 commit comments

Comments
 (0)