Skip to content

Commit

Permalink
Merge pull request #659 from mscastanho/fix-ppc64le
Browse files Browse the repository at this point in the history
Fix build on platforms with "double-double" long double type
  • Loading branch information
jzmaddock authored Jul 13, 2021
2 parents e149c34 + c80aa81 commit 08e40b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/math/tools/precision.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ inline constexpr T epsilon(const std::true_type& BOOST_MATH_APPEND_EXPLICIT_TEMP

#if defined(__GNUC__) && ((LDBL_MANT_DIG == 106) || (__LDBL_MANT_DIG__ == 106))
template <>
inline constexpr long double epsilon<long double>(const std::true_type& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double)) noexcept(long double)
inline constexpr long double epsilon<long double>(const std::true_type& BOOST_MATH_APPEND_EXPLICIT_TEMPLATE_TYPE(long double)) noexcept(std::is_floating_point<long double>::value)
{
// numeric_limits on Darwin (and elsewhere) tells lies here:
// the issue is that long double on a few platforms is
Expand Down

0 comments on commit 08e40b8

Please sign in to comment.