Skip to content

Commit

Permalink
Merge pull request #685 from mscastanho/fix-nanq
Browse files Browse the repository at this point in the history
Fix cstdfloat_math_incl_test on ppc64le with ieee128
  • Loading branch information
jzmaddock authored Sep 21, 2021
2 parents 5d6236f + 018eef7 commit bbe18df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/compile_test/cstdfloat_cmath_incl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ void compile_and_link_test()
check_result<boost::float128_t>(std::fmax(f128, f128));
check_result<boost::float128_t>(std::fmin(f128, f128));
check_result<boost::float128_t>(std::fdim(f128, f128));
check_result<boost::float128_t>(std::nanq(0));
#if __LDBL_MANT_DIG__ == 113
check_result<boost::float128_t>(std::nanl(""));
#else
check_result<boost::float128_t>(std::nanq(""));
#endif
check_result<boost::float128_t>(std::exp2(f128));
check_result<boost::float128_t>(std::log2(f128));
check_result<boost::float128_t>(std::log1p(f128));
Expand Down

0 comments on commit bbe18df

Please sign in to comment.