Fix typo in src/libcore/num/f32.rs

Co-authored-by: bluss <bluss@users.noreply.github.com>
This commit is contained in:
Pyry Kontio 2020-05-26 02:45:06 +09:00 committed by GitHub
parent b6eec22dd4
commit d6650e0d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -858,7 +858,7 @@ impl f32 {
let mut left = self.to_bits() as i32;
let mut right = other.to_bits() as i32;
// In case of negatives, flip all the bits expect the sign
// In case of negatives, flip all the bits except the sign
// to achieve a similar layout as two's complement integers
//
// Why does this work? IEEE 754 floats consist of three fields: