Skip to content

Commit

Permalink
Repair typo on double min_exponent10
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Dec 19, 2024
1 parent 464922e commit dbc9e72
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_bessel_j.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbc9e72

Please sign in to comment.