2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

enhanced example and output.

[SVN r7585]
This commit is contained in:
Paul A. Bristow
2007-07-30 11:30:53 +00:00
parent 1e4265c829
commit 03c3ff77a1

View File

@@ -12,7 +12,8 @@
// domain_error - negative degrees of freedom argument
// for student's t distribution CDF.
// Uncomment this line to see the effect of changing policy.
// Uncomment this line to see the effect of changing policy,
// to ignore the error & return NaN instead of throwing an exception.
// #define BOOST_MATH_DOMAIN_ERROR_POLICY ignore_error
// Note that these policy #defines MUST preceed the #include of
// any boost/math #includes.
@@ -68,9 +69,7 @@ With
Example error handling using Student's t function.
Probability of Student's t is 1.#QNAN
Default behaviour without
//#define BOOST_MATH_THROW_ON_DOMAIN_ERROR
Default behaviour without:
Example error handling using Student's t function.
Message from thrown exception was: