2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-26 18:52:10 +00:00

Fix for Darwin: not all versions have 106-bit long doubles.

[SVN r39048]
This commit is contained in:
John Maddock
2007-08-29 09:00:28 +00:00
parent cdf0e7544e
commit 7bbaeabe6b

View File

@@ -148,7 +148,7 @@ inline T epsilon(const mpl::true_& BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(T))
return std::numeric_limits<T>::epsilon();
}
#if defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
#if (defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)) && (LDBL_MANT_DIG == 106)
template <>
inline long double epsilon<long double>(const mpl::true_& BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE(long double))
{