Skip to content

Commit

Permalink
Merge branch 'development' into 'master'
Browse files Browse the repository at this point in the history
Make test case work for NaNs

See merge request keszocze/aarith!79
  • Loading branch information
Oliver Keszoecze committed Mar 23, 2021
2 parents 0067865 + 9d4eaad commit 38601ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/float/float_addition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,7 @@ TEMPLATE_TEST_CASE_SIG("Floating point addition matches its native counterparts"
{
CAPTURE(res_, res_native, F{res_}, F{res_native}, res.is_nan(), res_native_.is_nan());
CHECK(res.is_nan());
CHECK(res_native_.is_nan());
REQUIRE(bit_equal(F{res_}, F{res_native}));
REQUIRE(res_native_.is_nan());
}
else
{
Expand Down

0 comments on commit 38601ef

Please sign in to comment.