|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71276 - trunk/libs/math/doc/sf_and_dist
From: pbristow_at_[hidden]
Date: 2011-04-15 09:54:59
Author: pbristow
Date: 2011-04-15 09:54:58 EDT (Fri, 15 Apr 2011)
New Revision: 71276
URL: http://svn.boost.org/trac/boost/changeset/71276
Log:
Added note about fp_inspect by Johan Rade.
Text files modified:
trunk/libs/math/doc/sf_and_dist/fpclassify.qbk | 24 ++++++++++++++++++------
1 files changed, 18 insertions(+), 6 deletions(-)
Modified: trunk/libs/math/doc/sf_and_dist/fpclassify.qbk
==============================================================================
--- trunk/libs/math/doc/sf_and_dist/fpclassify.qbk (original)
+++ trunk/libs/math/doc/sf_and_dist/fpclassify.qbk 2011-04-15 09:54:58 EDT (Fri, 15 Apr 2011)
@@ -1,4 +1,4 @@
-[section:fpclass Floating-Point Classification: Infinities and NaN's]
+[section:fpclass Floating-Point Classification: Infinities and NaNs]
[h4 Synopsis]
@@ -34,9 +34,10 @@
are implemented in terms of them, otherwise they rely on std::numeric_limits<>
to function.
-Note that the definition of these functions ['does not suppress the definition
-of these names as macros by math.h] on those platforms that already provide
-these as macros. That mean that the following have differing meanings:
+Note that the definition of these functions
+['does not suppress the definition of these names as macros by math.h]
+on those platforms that already provide
+these as macros. That mean that the following have differing meanings:
using namespace boost::math;
@@ -102,10 +103,21 @@
Returns true only if /z/ is a normal number (not zero, infinite, NaN, or denormalised).
-[endsect] [/section:fpclass Floating Point Classification: Infinities and NaN's]
+[h5 Floating-point format]
+
+If you wish to find details of the floating-point format for any particular processor,
+there is a program
+
+[@../../../example/inspect_fp.cpp inspect_fp.cpp]
+
+by Johan Rade which can be used to print out the processor type,
+endianness, and detailed bit layout of a selection of floating-point values,
+including infinity and NaNs.
+
+[endsect] [/section:fpclass Floating Point Classification: Infinities and NaNs]
[/
- Copyright 2006, 2008 John Maddock and Paul A. Bristow.
+ Copyright 2006, 2008, 2011 John Maddock, Johan Rade and Paul A. Bristow.
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).
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