diff --git a/test/test_Li2.cpp b/test/test_Li2.cpp index 2421fa3..54d198a 100644 --- a/test/test_Li2.cpp +++ b/test/test_Li2.cpp @@ -307,7 +307,7 @@ TEST_CASE("test_special_values") CHECK_CLOSE_COMPLEX(spheno_Li2(z0), li0, eps); } - { + if (is_ieee754_compliant()) { // special point with small real part const std::complex z(4.831285545908206e-6, 0.004396919500211628); const std::complex expected(-1.94166578202937687444628936853e-9, 0.00439692067657240512726530759719387623);