2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Repair typo on double min_exponent10

This commit is contained in:
ckormanyos
2024-12-19 13:25:47 +01:00
parent 464922e136
commit dbc9e72b70

View File

@@ -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<T>::min_exponent10 <= -308)
BOOST_IF_CONSTEXPR (std::numeric_limits<T>::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