Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50278 - trunk/boost/math/special_functions
From: john_at_[hidden]
Date: 2008-12-15 11:03:58


Author: johnmaddock
Date: 2008-12-15 11:03:56 EST (Mon, 15 Dec 2008)
New Revision: 50278
URL: http://svn.boost.org/trac/boost/changeset/50278

Log:
Added informational comment.
Text files modified:
   trunk/boost/math/special_functions/fpclassify.hpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/special_functions/fpclassify.hpp
==============================================================================
--- trunk/boost/math/special_functions/fpclassify.hpp (original)
+++ trunk/boost/math/special_functions/fpclassify.hpp 2008-12-15 11:03:56 EST (Mon, 15 Dec 2008)
@@ -22,7 +22,10 @@
 /*
 
 1. If the platform is C99 compliant, then the native floating point
-classification functions are used.
+classification functions are used. However, note that we must only
+define the functions which call std::fpclassify etc if that function
+really does exist: otherwise a compiler may reject the code even though
+the template is never instantiated.
 
 2. If the platform is not C99 compliant, and the binary format for
 a floating point type (float, double or long double) can be determined


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