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 @@ pub fn normalize(&self) -> Fp {
|
|||||||
f <<= 1;
|
f <<= 1;
|
||||||
e -= 1;
|
e -= 1;
|
||||||
}
|
}
|
||||||
debug_assert!(f >= (1 >> 63));
|
debug_assert!(f >= (1 << 63));
|
||||||
Fp { f, e }
|
Fp { f, e }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user