diff options
| author | Pyry Kontio <pyry.kontio@drasa.eu> | 2020-05-26 02:45:06 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 02:45:06 +0900 |
| commit | d6650e0d2b1027de341ba7f48937eab499fca3ee (patch) | |
| tree | 0c8da5e097b667a92620532eb2625f8aad106124 | |
| parent | b6eec22dd49b74eda4257d0fd634fa179de9c2ec (diff) | |
| download | rust-d6650e0d2b1027de341ba7f48937eab499fca3ee.tar.gz rust-d6650e0d2b1027de341ba7f48937eab499fca3ee.zip | |
Fix typo in src/libcore/num/f32.rs
Co-authored-by: bluss <bluss@users.noreply.github.com>
| -rw-r--r-- | src/libcore/num/f32.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/f32.rs b/src/libcore/num/f32.rs index 56c77c8aea0..813e3077c3b 100644 --- a/src/libcore/num/f32.rs +++ b/src/libcore/num/f32.rs @@ -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: |
