Date: 2008-03-23 07:53:51
Date: 2008-03-23 07:53:51 EDT (Sun, 23 Mar 2008)
New Revision: 43801
Added note on user option to handle infinity and other special cases by intercept before calling distribution or function.
Text files modified:
sandbox/math_toolkit/libs/math/doc/sf_and_dist/implementation.qbk | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
--- sandbox/math_toolkit/libs/math/doc/sf_and_dist/implementation.qbk (original)
+++ sandbox/math_toolkit/libs/math/doc/sf_and_dist/implementation.qbk 2008-03-23 07:53:51 EDT (Sun, 23 Mar 2008)
@@ -207,6 +207,11 @@
we have permitted argument(s) to be infinity,
provided infinity is implemented for the realType on that implementation.
+Users who require special handling of infinity (or other specific value) can,
+of course, always intercept this before calling a distribution or function
+and return their own choice of value, or other behavior.
+This will often be simpler than trying to handle the aftermath of the error policy.
Overflow, underflow, denorm can be handled using __error_policy.
We have also tried to catch boundary cases where the mathematical specification
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