Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83407 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2013-03-11 08:19:53


Author: pbristow
Date: 2013-03-11 08:19:51 EDT (Mon, 11 Mar 2013)
New Revision: 83407
URL: http://svn.boost.org/trac/boost/changeset/83407

Log:
Minor corrections from John 10 Mar 13
Text files modified:
   trunk/libs/math/example/bessel_errors_example.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/math/example/bessel_errors_example.cpp
==============================================================================
--- trunk/libs/math/example/bessel_errors_example.cpp (original)
+++ trunk/libs/math/example/bessel_errors_example.cpp 2013-03-11 08:19:51 EDT (Mon, 11 Mar 2013)
@@ -58,7 +58,7 @@
     std::cout << "Thrown exception " << ex.what() << std::endl;
   }
 
-/*`[note The type shown is the type [*after promotion],
+/*`[note The type shown in the error message is the type [*after promotion],
 using __precision_policy and __promotion_policy, from `float` to `double` in this case.]
 
 In this example the promotion goes:
@@ -66,7 +66,7 @@
 # Arguments are `float` and `int`.
 # Treat `int` "as if" it were a `double`, so arguments are `float` and `double`.
 # Common type is `double` - so that's the precision we want (and the type that will be returned).
-# Evaluate internally as `long double` for full `double` precision.
+# Evaluate internally as `double` for full `float` precision.
 
 See full code for other examples that promote from `double` to `long double`.
 


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