diff options
Diffstat (limited to 'src/libcoretest/num/dec2flt')
| -rw-r--r-- | src/libcoretest/num/dec2flt/rawfp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcoretest/num/dec2flt/rawfp.rs b/src/libcoretest/num/dec2flt/rawfp.rs index a40d360f105..4c0a403e574 100644 --- a/src/libcoretest/num/dec2flt/rawfp.rs +++ b/src/libcoretest/num/dec2flt/rawfp.rs @@ -9,14 +9,14 @@ // except according to those terms. use std::f64; -use core::num::flt2dec::strategy::grisu::Fp; +use core::num::diy_float::Fp; use core::num::dec2flt::rawfp::{fp_to_float, prev_float, next_float, round_normal}; #[test] fn fp_to_float_half_to_even() { fn is_normalized(sig: u64) -> bool { - // intentionally written without {min,max}_sig() as a sanity check - sig >> 52 == 1 && sig >> 53 == 0 + // intentionally written without {min,max}_sig() as a sanity check + sig >> 52 == 1 && sig >> 53 == 0 } fn conv(sig: u64) -> u64 { |
