diff --git a/fixed_wide/src/fixed.rs b/fixed_wide/src/fixed.rs index a8bf944..14c8245 100644 --- a/fixed_wide/src/fixed.rs +++ b/fixed_wide/src/fixed.rs @@ -525,9 +525,9 @@ macro_rules! impl_wide_same_size_not_const_generic{ if self.is_negative()==rhs.is_negative(){ Fixed::from_bits(out) }else{ - // Wrapping is the cheapest negation operation + // Normal neg is the cheapest negation operation // And the inputs cannot reach the point where it matters - Fixed::from_bits(out.wrapping_neg()) + Fixed::from_bits(out.neg()) } } /// This operation cannot represent the fraction exactly,