Merge pull request #227 from fastfloat/extra_test

adding a single test
This commit is contained in:
Daniel Lemire 2024-01-28 10:08:49 -05:00 committed by GitHub
commit f320619216
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -827,6 +827,7 @@ TEST_CASE("64bit.inf") {
}
TEST_CASE("64bit.general") {
verify("0.95000000000000000000",0.95);
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, std::errc::result_out_of_range);