Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71436 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2011-04-23 09:42:40


Author: pbristow
Date: 2011-04-23 09:42:39 EDT (Sat, 23 Apr 2011)
New Revision: 71436
URL: http://svn.boost.org/trac/boost/changeset/71436

Log:
Comments on checks.
Text files modified:
   trunk/libs/math/test/test_basic_nonfinite.cpp | 10 ++++------
   1 files changed, 4 insertions(+), 6 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-23 09:42:39 EDT (Sat, 23 Apr 2011)
@@ -1,17 +1,16 @@
-
-
 // Distributed under the Boost Software License, Version 1.0.
 // (See accompanying file LICENSE_1_0.txt
 // or copy at http://www.boost.org/LICENSE_1_0.txt)
 
 // Copyright (c) 2006 Johan Rade
 // Copyright (c) 2011 Paul A. Bristow comments
-
+// Copyright (c) 2011 John Maddock
 /*!
 \file
 \brief Basic tests of the nonfinite num facets.
 
-\detail Basic_test outputs using nonfinite_num_put facet
+\detail If has_infinity and has_nan, then
+basic_test outputs using nonfinite_num_put facet
 and reads back in using nonfinite_num_ facet,
 and checks loopback OK.
 
@@ -24,7 +23,7 @@
 */
 
 #ifdef _MSC_VER
-# pragma warning(disable : 4702)
+# pragma warning(disable : 4702) // Unreachable code.
 #endif
 
 #include <iomanip>
@@ -46,7 +45,6 @@
 
 using namespace boost::math;
 using boost::math::signbit;
-//using boost::spirit::detail::changesign; // Temporary spirit version.
 using boost::math::changesign;
 using boost::math::isnan;
 


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