diff --git a/fixed_wide/src/fixed_wide_traits.rs b/fixed_wide/src/fixed_wide_traits.rs index 0c8e9d8..9d6ab27 100644 --- a/fixed_wide/src/fixed_wide_traits.rs +++ b/fixed_wide/src/fixed_wide_traits.rs @@ -75,7 +75,7 @@ impl Fixed //cheat to make the types match let wide_self=self.wide_mul(Fixed::::ONE); for shift in (0..=max_shift).rev(){ - let new_result=result|(Fixed::::EPSILON<::from_bits(BInt::from_bits(bnum::BUint::power_of_two(shift))); if new_result.wide_mul(new_result)<=wide_self{ result=new_result; }