|
Boost-Commit : |
From: john_at_[hidden]
Date: 2007-11-20 06:12:37
Author: johnmaddock
Date: 2007-11-20 06:12:36 EST (Tue, 20 Nov 2007)
New Revision: 41251
URL: http://svn.boost.org/trac/boost/changeset/41251
Log:
aCC on PA-RISC emits hard errors if a numeric constant underflows: enable existing workaround for that compiler.
Text files modified:
trunk/boost/math/tools/config.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/boost/math/tools/config.hpp
==============================================================================
--- trunk/boost/math/tools/config.hpp (original)
+++ trunk/boost/math/tools/config.hpp 2007-11-20 06:12:36 EST (Tue, 20 Nov 2007)
@@ -95,8 +95,9 @@
#endif // defined BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
-#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x590)
-// Sun's compiler emits a hard error if a constant underflows:
+#if BOOST_WORKAROUND(__SUNPRO_CC, <= 0x590) || defined(__hppa)
+// Sun's compiler emits a hard error if a constant underflows,
+// as does aCC on PA-RISC:
# define BOOST_MATH_SMALL_CONSTANT(x) 0
#else
# define BOOST_MATH_SMALL_CONSTANT(x) x
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