From dbc9e72b70e0a515bcbf59539cb9d49e1713feb0 Mon Sep 17 00:00:00 2001 From: ckormanyos Date: Thu, 19 Dec 2024 13:25:47 +0100 Subject: [PATCH] Repair typo on double min_exponent10 --- test/test_bessel_j.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test_bessel_j.hpp b/test/test_bessel_j.hpp index 8a21a1380..6b41b5cd5 100644 --- a/test/test_bessel_j.hpp +++ b/test/test_bessel_j.hpp @@ -281,9 +281,8 @@ void test_bessel(T, const char* name) BOOST_CHECK_EQUAL(boost::math::cyl_bessel_j(T(0), T(2.5)), boost::math::cyl_bessel_j(T(0), T(-2.5))); BOOST_CHECK_EQUAL(boost::math::cyl_bessel_j(T(1), T(2.5)), -boost::math::cyl_bessel_j(T(1), T(-2.5))); #ifndef SYCL_LANGUAGE_VERSION - BOOST_IF_CONSTEXPR (std::numeric_limits::min_exponent10 <= -308) + BOOST_IF_CONSTEXPR (std::numeric_limits::min_exponent10 <= -307) { - // TODO: ckormanyos Ask jzmaddock and mborland about DEN-value. BOOST_CHECK_CLOSE_FRACTION(boost::math::cyl_bessel_j(364, T(38.5)), SC_(1.793940496519190500748409872348034004417458734118663909894e-309), tolerance); } #endif