|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71380 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2011-04-19 14:00:18
Author: pbristow
Date: 2011-04-19 14:00:17 EDT (Tue, 19 Apr 2011)
New Revision: 71380
URL: http://svn.boost.org/trac/boost/changeset/71380
Log:
Tabs removed, end newlines added, and max/min () to meet inspection report comments.
Text files modified:
trunk/libs/math/test/test_basic_nonfinite.cpp | 4 ++--
trunk/libs/math/test/test_nonfinite_trap.cpp | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/libs/math/test/test_basic_nonfinite.cpp
==============================================================================
--- trunk/libs/math/test/test_basic_nonfinite.cpp (original)
+++ trunk/libs/math/test/test_basic_nonfinite.cpp 2011-04-19 14:00:17 EDT (Tue, 19 Apr 2011)
@@ -89,8 +89,8 @@
ValType a1 = (ValType)1.2;
ValType a2 = (ValType)-3.5;
- ValType a3 = std::numeric_limits<ValType>::max();
- ValType a4 = -std::numeric_limits<ValType>::max();
+ ValType a3 = (std::numeric_limits<ValType>::max)();
+ ValType a4 = -(std::numeric_limits<ValType>::max)();
ss << a1 << ' ' << a2 << ' ' << a3 << ' ' << a4;
ValType b1, b2, b3, b4;
Modified: trunk/libs/math/test/test_nonfinite_trap.cpp
==============================================================================
--- trunk/libs/math/test/test_nonfinite_trap.cpp (original)
+++ trunk/libs/math/test/test_nonfinite_trap.cpp 2011-04-19 14:00:17 EDT (Tue, 19 Apr 2011)
@@ -68,8 +68,8 @@
ValType a1 = (ValType)1.2;
ValType a2 = (ValType)-3.5;
- ValType a3 = std::numeric_limits<ValType>::max();
- ValType a4 = -std::numeric_limits<ValType>::max();
+ ValType a3 = (std::numeric_limits<ValType>::max)();
+ ValType a4 = -(std::numeric_limits<ValType>::max)();
ss << a1 << ' ' << a2 << ' ' << a3 << ' ' << a4;
ValType b1, b2, b3, b4;
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