mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
Fix assert in diy_float
The shifting should have gone the other way, the current incarnation is always true.
This commit is contained in:
parent
fd853c00e2
commit
b8eb1f167c
@ -65,7 +65,7 @@ impl Fp {
|
||||
f <<= 1;
|
||||
e -= 1;
|
||||
}
|
||||
debug_assert!(f >= (1 >> 63));
|
||||
debug_assert!(f >= (1 << 63));
|
||||
Fp { f, e }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user