idk what I'm doing

This commit is contained in:
Quaternions 2024-09-26 18:08:20 -07:00
parent e6cd239dcb
commit 94e23b7f0f

View File

@ -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,