Skip to content

Commit

Permalink
Merge pull request #227 from fastfloat/extra_test
Browse files Browse the repository at this point in the history
adding a single test
  • Loading branch information
lemire authored Jan 28, 2024
2 parents 7cbbcee + 604424b commit f320619
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 @@ -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);
Expand Down

0 comments on commit f320619

Please sign in to comment.