|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71497 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2011-04-26 04:46:27
Author: pbristow
Date: 2011-04-26 04:46:23 EDT (Tue, 26 Apr 2011)
New Revision: 71497
URL: http://svn.boost.org/trac/boost/changeset/71497
Log:
Complied with min/max requirements.
Text files modified:
trunk/libs/math/test/test_signed_zero.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/math/test/test_signed_zero.cpp
==============================================================================
--- trunk/libs/math/test/test_signed_zero.cpp (original)
+++ trunk/libs/math/test/test_signed_zero.cpp 2011-04-26 04:46:23 EDT (Tue, 26 Apr 2011)
@@ -49,7 +49,7 @@
template<class CharType, class ValType> void signed_zero_test_impl()
{
- if (signbit(static_cast<CharType>(-1e-6f)/std::numeric_limits<CharType>::max()) != -0)
+ if (signbit(static_cast<CharType>(-1e-6f)/(std::numeric_limits<CharType>::max)()) != -0)
{
BOOST_MESSAGE("Signed zero is not supported on this platform.");
return;
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