lol idk #1

Open
Quaternions wants to merge 826 commits from StrafesNET/strafe-project:master into master
Showing only changes of commit 94e23b7f0f - Show all commits

View File

@ -525,9 +525,9 @@ macro_rules! impl_wide_same_size_not_const_generic{
if self.is_negative()==rhs.is_negative(){ if self.is_negative()==rhs.is_negative(){
Fixed::from_bits(out) Fixed::from_bits(out)
}else{ }else{
// Wrapping is the cheapest negation operation // Normal neg is the cheapest negation operation
// And the inputs cannot reach the point where it matters // 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, /// This operation cannot represent the fraction exactly,