Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-01-23 08:59:56

Author: johnmaddock
Date: 2008-01-23 08:59:56 EST (Wed, 23 Jan 2008)
New Revision: 42928

Updated concepts to reflect dependence on the rounding functions.
Text files modified:
   sandbox/math_toolkit/libs/math/doc/sf_and_dist/concepts.qbk | 14 +++++++++++++-
   1 files changed, 13 insertions(+), 1 deletions(-)

Modified: sandbox/math_toolkit/libs/math/doc/sf_and_dist/concepts.qbk
--- sandbox/math_toolkit/libs/math/doc/sf_and_dist/concepts.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/sf_and_dist/concepts.qbk 2008-01-23 08:59:56 EST (Wed, 23 Jan 2008)
@@ -174,13 +174,25 @@
 Note that the table above lists only those standard library functions known to
 be used (or likely to be used in the near future) by this library.
-The following functions: `acos`, `atan2`, `fmod`, `cosh`, `sinh`, `tanh`, `modf` and `log10`
+The following functions: `acos`, `atan2`, `fmod`, `cosh`, `sinh`, `tanh`, `log10`,
+`lround`, `llround`, ltrunc`, `lltrunc` and `modf`
 are not currently used, but may be if further special functions are added.
+Note that the `round`, `trunc` and `modf` functions are not part of the
+current C++ standard: they are part of the additions added to C99 which will
+likely be in the next C++ standard. There are Boost versions of these provided
+as a backup, and the functions are always called unqualified so that
+argument-dependent-lookup can take place.
 In addition, for efficient and accurate results, a __lanczos is highly desirable.
 You may be able to adapt an existing approximation from

Boost-Commit list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at