Skip to content

Commit d6650e0

Browse files
golddranksbluss
andauthored
Fix typo in src/libcore/num/f32.rs
Co-authored-by: bluss <[email protected]>
1 parent b6eec22 commit d6650e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/f32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ impl f32 {
858858
let mut left = self.to_bits() as i32;
859859
let mut right = other.to_bits() as i32;
860860

861-
// In case of negatives, flip all the bits expect the sign
861+
// In case of negatives, flip all the bits except the sign
862862
// to achieve a similar layout as two's complement integers
863863
//
864864
// Why does this work? IEEE 754 floats consist of three fields:

0 commit comments

Comments
 (0)