|
Boost-Commit : |
From: john_at_[hidden]
Date: 2008-07-18 08:40:57
Author: johnmaddock
Date: 2008-07-18 08:40:57 EDT (Fri, 18 Jul 2008)
New Revision: 47546
URL: http://svn.boost.org/trac/boost/changeset/47546
Log:
Merged fixes from trunk for VC71.
Text files modified:
branches/release/boost/math/special_functions/next.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: branches/release/boost/math/special_functions/next.hpp
==============================================================================
--- branches/release/boost/math/special_functions/next.hpp (original)
+++ branches/release/boost/math/special_functions/next.hpp 2008-07-18 08:40:57 EDT (Fri, 18 Jul 2008)
@@ -37,7 +37,11 @@
template <class T>
inline T get_smallest_value()
{
+#if defined(BOOST_MSVC) && (BOOST_MSVC <= 1310)
+ return get_smallest_value<T>(mpl::bool_<std::numeric_limits<T>::is_specialized && (std::numeric_limits<T>::has_denorm == 1)>());
+#else
return get_smallest_value<T>(mpl::bool_<std::numeric_limits<T>::is_specialized && (std::numeric_limits<T>::has_denorm == std::denorm_present)>());
+#endif
}
}
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