Skip to content

Commit 1ea4f27

Browse files
authored
Merge pull request #166 from fastfloat/dlemire/verify_normal_subnormal_limit
Adding test.
2 parents 177ef91 + 09f8989 commit 1ea4f27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/basictest.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,8 @@ TEST_CASE("64bit.inf") {
636636
}
637637

638638
TEST_CASE("64bit.general") {
639+
verify("22250738585072012e-324",0x1p-1022); /* limit between normal and subnormal*/
640+
verify("-22250738585072012e-324",-0x1p-1022); /* limit between normal and subnormal*/
639641
verify("-1e-999",-0.0);
640642
verify("-2.2222222222223e-322",-0x1.68p-1069);
641643
verify("9007199254740993.0", 0x1p+53);

0 commit comments

Comments
 (0)