Fix assert in diy_float

The shifting should have gone the other way, the current incarnation is always true.
This commit is contained in:
frogtd 2021-07-27 16:02:35 -04:00 committed by GitHub
parent fd853c00e2
commit b8eb1f167c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ impl Fp {
f <<= 1;
e -= 1;
}
debug_assert!(f >= (1 >> 63));
debug_assert!(f >= (1 << 63));
Fp { f, e }
}