|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-10-10 05:31:45
Author: johnmaddock
Date: 2007-10-10 05:31:44 EDT (Wed, 10 Oct 2007)
New Revision: 39884
URL: http://svn.boost.org/trac/boost/changeset/39884
Log:
Tentative Sunpro workaround.
Text files modified:
trunk/boost/math/concepts/real_concept.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/concepts/real_concept.hpp
==============================================================================
--- trunk/boost/math/concepts/real_concept.hpp (original)
+++ trunk/boost/math/concepts/real_concept.hpp 2007-10-10 05:31:44 EDT (Wed, 10 Oct 2007)
@@ -323,7 +323,11 @@
template <>
inline concepts::real_concept epsilon(BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC(concepts::real_concept))
{
+#ifdef __SUNPRO_CC
+ return std::numeric_limits<long double>::epsilon();
+#else
return tools::epsilon<long double>();
+#endif
}
template <>
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