|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84547 - trunk/boost/math/tools
From: john_at_[hidden]
Date: 2013-05-29 07:12:07
Author: johnmaddock
Date: 2013-05-29 07:12:06 EDT (Wed, 29 May 2013)
New Revision: 84547
URL: http://svn.boost.org/trac/boost/changeset/84547
Log:
Minor fix for multiprecision types.
Text files modified:
trunk/boost/math/tools/big_constant.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/math/tools/big_constant.hpp
==============================================================================
--- trunk/boost/math/tools/big_constant.hpp (original)
+++ trunk/boost/math/tools/big_constant.hpp 2013-05-29 07:12:06 EDT (Wed, 29 May 2013)
@@ -57,7 +57,9 @@
// For constants too huge for any conceivable long double (and which generate compiler errors if we try and declare them as such):
//
#define BOOST_MATH_HUGE_CONSTANT(T, D, x)\
- boost::math::tools::make_big_value<T>(0.0L, BOOST_STRINGIZE(x), mpl::bool_<is_floating_point<T>::value || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::max_exponent <= std::numeric_limits<long double>::max_exponent)>(), boost::is_convertible<const char*, T>())
+ boost::math::tools::make_big_value<T>(0.0L, BOOST_STRINGIZE(x), \
+ mpl::bool_<is_floating_point<T>::value || (std::numeric_limits<T>::is_specialized && std::numeric_limits<T>::max_exponent <= std::numeric_limits<long double>::max_exponent && std::numeric_limits<T>::digits <= std::numeric_limits<long double>::digits)>(), \
+ boost::is_convertible<const char*, T>())
}}} // namespaces
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk