idk what I'm doing
This commit is contained in:
parent
e6cd239dcb
commit
94e23b7f0f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user