Merge pull request #166 from fastfloat/dlemire/verify_normal_subnormal_limit

Adding test.
This commit is contained in:
Daniel Lemire 2023-01-10 11:20:27 -05:00 committed by GitHub
commit 1ea4f27b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -636,6 +636,8 @@ TEST_CASE("64bit.inf") {
}
TEST_CASE("64bit.general") {
verify("22250738585072012e-324",0x1p-1022); /* limit between normal and subnormal*/
verify("-22250738585072012e-324",-0x1p-1022); /* limit between normal and subnormal*/
verify("-1e-999",-0.0);
verify("-2.2222222222223e-322",-0x1.68p-1069);
verify("9007199254740993.0", 0x1p+53);