We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68bab3e commit b6eec22Copy full SHA for b6eec22
src/libcore/num/f32.rs
@@ -874,7 +874,7 @@ impl f32 {
874
// flip the exponent and mantissa bits in case of negative numbers.
875
// We effectively convert the numbers to "two's complement" form.
876
if left < 0 {
877
- // i32::MAX corresponds the bit pattern of "all ones expect for the sign bit"
+ // i32::MAX corresponds the bit pattern of "all ones except for the sign bit"
878
left ^= i32::MAX
879
};
880
if right < 0 {
0 commit comments