Skip to content

Commit

Permalink
adding a test
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Dec 7, 2023
1 parent 35d5231 commit 604424b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/basictest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,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);
Expand Down

0 comments on commit 604424b

Please sign in to comment.