2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 20:12:09 +00:00
Commit Graph

654 Commits

Author SHA1 Message Date
John Maddock
b9e891404a Fix improper overflow error handling in asinh.hpp.
Update asinh and acosh test cases.
Add fixes to release notes and regenerate docs.
Fixes #7416.

[SVN r80695]
2012-09-24 17:16:29 +00:00
John Maddock
068e88fa36 Fix atanh error handling.
Add extra tests to catch above bug.
Fixes #7415.

[SVN r80692]
2012-09-24 16:23:06 +00:00
Paul A. Bristow
d89b599121 Messsages inserted to find closer to line causing trouble on GCC
[SVN r80197]
2012-08-25 10:14:14 +00:00
John Maddock
e5723529c2 Fix remaining GCC and Intel issues for very large v in non-central t.
[SVN r80195]
2012-08-25 09:13:42 +00:00
Paul A. Bristow
b164089abb Added infinite degrees of freedom support and other new tests.
[SVN r80116]
2012-08-21 17:36:09 +00:00
John Maddock
4be8acfe68 Fix numerical stability problem in incomplete beta: ibeta_fraction2 sometimes has catastrophic cancellation errors when a and b are large and x is near 1.
Change non central t series termination conditions to check for divergent series.
Update tests with new larger test values.

[SVN r80065]
2012-08-17 11:18:18 +00:00
John Maddock
bf39b3834a Fix bug in incomplete beta which causes an exception to be thrown in itrunc when one argument is very large.
Fix several similar issue in the non-central T which cause cancellation errors if we let the starting iteration be zero.
Remove dead code that results from above changes.
Minor fixes to table_type and test_next.cpp.

[SVN r80061]
2012-08-16 15:27:40 +00:00
Paul A. Bristow
e650b22aca Reverted to previous version to get back lost content.
[SVN r80028]
2012-08-14 07:56:17 +00:00
Paul A. Bristow
cca8db714e Added (correct) copyright and non-ASCII chars.
[SVN r79977]
2012-08-12 11:24:15 +00:00
Paul A. Bristow
3a39099b41 Added (correct) copyright and non-ASCII chars.
[SVN r79976]
2012-08-12 11:21:31 +00:00
Paul A. Bristow
f2e2e08908 Changed to use
if (typeid(RealType) != typeid(boost::math::concepts::real_concept))
    { // Ordinary floats only.

to avoid failure of previous string name comparison by gcc and other platforms.

[SVN r79921]
2012-08-08 09:26:47 +00:00
Paul A. Bristow
7737ce6a06 Tets for Major update to allow df == +infinity.
[SVN r79912]
2012-08-07 15:56:27 +00:00
Paul A. Bristow
a261d44d3e Test of using the 1/eps to switch to normal distribution.
[SVN r79891]
2012-08-06 16:29:38 +00:00
Paul A. Bristow
c9fde3be32 Back to plan A! not defined for v <= k - no infinity from moments.
(TODO use normal for df = infinity?)

[SVN r79837]
2012-08-01 17:12:00 +00:00
Paul A. Bristow
a2fc557d79 Added comments
[SVN r79835]
2012-08-01 16:37:01 +00:00
Paul A. Bristow
69ba66929d Rebuilt after edits to quiet nags.
[SVN r79834]
2012-08-01 16:32:48 +00:00
Paul A. Bristow
0617e03ad3 Comment out display of pdf(dist, 0.45) and retest skew_normal.hpp
[SVN r79812]
2012-07-31 11:18:11 +00:00
Paul A. Bristow
7930b8b8a4 Explicit boost::math::policies::domain_error; and pole_error to avoid complaint of duplicate declaration by Intel-Darwin-12. (but unclear where a duplicate declaration actually exists).
[SVN r79806]
2012-07-30 19:53:14 +00:00
Paul A. Bristow
571ed0ebaa Further revision of students t tests, making inline to hope to avoid gcc compile problem.
[SVN r79795]
2012-07-29 09:45:42 +00:00
Paul A. Bristow
76c9e6d678 Revised checks on moments and return values.
[SVN r79769]
2012-07-27 15:29:44 +00:00
Paul A. Bristow
9c3898d306 Revised for Trac #7717
[SVN r79760]
2012-07-26 18:04:02 +00:00
Paul A. Bristow
7e54754504 Updated tests to use new macro BOOST_NO_CXX11_NUMERIC_LIMITS
[SVN r79741]
2012-07-25 13:35:27 +00:00
John Maddock
513d4aedfc Fix up Linux x64 tests a little better - note that the test with the FPU in FTZ mode still fail pretty badly, especially with Intel-12.1
[SVN r79576]
2012-07-17 16:54:41 +00:00
John Maddock
c2e90167f7 Tentative fix for issue #4445.
Adds tests for next.hpp when using the SSE2 instruction set in DAZ and FTZ modes.
Note that FTZ mode is particularly pernicious as non-zeros can change to zeros at random points in program flow depending upon the exact instructions generated by the compiler - thus breaking program logic/invariants.
Refs #4445.

[SVN r79572]
2012-07-17 09:22:59 +00:00
John Maddock
c3da72b1b2 Fix typo in Hankel function implementation that causes incorrect values to be returned for x < 0 and v an odd integer.
Add additional Hankel function tests.
Add a couple of missing header inclusion tests.
Update history in docs, and regenerate HTML.
Fixes #7135.

[SVN r79510]
2012-07-14 18:34:01 +00:00
John Maddock
c585419ec2 Allow fpclassify and friends to be used with integer types via the usual promotion mechanism.
Fixes #6517.

[SVN r79438]
2012-07-12 09:51:32 +00:00
John Maddock
b1d516cf49 Fix numeric_limits specialization.
[SVN r79419]
2012-07-11 17:26:05 +00:00
Paul A. Bristow
e339ad75d2 Two temporary tests for which platforms provide numeric_limits max_digits10 and if BOOST_NO_NUMERIC_LIMITS_LOWEST is a suitable macro to check that max_digtsi10 is implemented before using in Boost.Test for radix10 when the Kahan formula is not applicable.
[SVN r79260]
2012-07-04 13:58:56 +00:00
John Maddock
d6236139df Fix for GCC/Linux failure.
[SVN r78790]
2012-06-01 11:58:56 +00:00
John Maddock
fbc849c24e Enhance exponential_distribution tests.
Refs #6934.

[SVN r78784]
2012-05-31 11:58:06 +00:00
John Maddock
6007215c95 Update more distribution tests for fisher_f and extreme_value and fix failures.
Refs #6934.

[SVN r78783]
2012-05-31 11:15:42 +00:00
Paul A. Bristow
b66b890912 Added check out of range
[SVN r78782]
2012-05-31 11:11:21 +00:00
John Maddock
73c9b11179 Update more distribution tests, from Inverse* down to gamma.
Refs #6934.

[SVN r78778]
2012-05-31 10:18:02 +00:00
Paul A. Bristow
ccc3291da6 added check_out_of Range
[SVN r78777]
2012-05-31 09:36:24 +00:00
John Maddock
392fbeeddd Add extra error tests for negative_binomial to laplace distros.
Refs #6934.

[SVN r78773]
2012-05-30 18:15:41 +00:00
John Maddock
41bd4bd442 Update to use new out-of-bounds error checking.
Refs #6934.

[SVN r78771]
2012-05-30 16:52:18 +00:00
Paul A. Bristow
c732b6e85b Corrected comments.
[SVN r78770]
2012-05-30 16:39:37 +00:00
Paul A. Bristow
70868fb2a2 Added out of range checks (and normal.hpp now range infinity if supported.
[SVN r78769]
2012-05-30 16:39:12 +00:00
Paul A. Bristow
c30e63349a Added out of range checks
[SVN r78767]
2012-05-30 16:32:12 +00:00
Paul A. Bristow
a752f9f593 Added out_of_range checks - and corrected beta.hpp for missing () in checks.
[SVN r78764]
2012-05-30 16:28:59 +00:00
Paul A. Bristow
0b6be607ba Explanatory comments added.
[SVN r78762]
2012-05-30 14:21:06 +00:00
John Maddock
d39cf53e86 Update to allow for infinite range.
[SVN r78753]
2012-05-29 18:24:29 +00:00
John Maddock
bc2dc1d4dd Add boilerplate code for testing most domain errors in the distributions.
Update the non-central distributions to make use of it.

[SVN r78751]
2012-05-29 17:43:16 +00:00
Paul A. Bristow
0c5c91f6df Added more tests for bad parameters and non-finites.
[SVN r78748]
2012-05-29 15:58:06 +00:00
Paul A. Bristow
b2e3224cf6 Added more tests that check that nonfinites throw.
[SVN r78746]
2012-05-29 15:38:49 +00:00
John Maddock
3e9242ade2 Improve testing of error conditions and fix any errors detected.
Takes care of distributions normal-weibull.
Refs #6937.

[SVN r78726]
2012-05-28 17:42:50 +00:00
John Maddock
a1789c4766 Tighten Weibull distro tests.
Fix corner cases in Weibull distro.
Fixes #6939.
Fixes #6938.

[SVN r78723]
2012-05-28 16:27:00 +00:00
John Maddock
02787878e6 Update concept checks to unmask issues reported in #6934.
Add some distributions to the concept tests that were missing before.
Add skew_normal_distribution to distributions.hpp.
Fix some errors in calculating custom policies when the defaults have been changed.
Fix the errors and warnings that result from the above.
Refs #6934.

[SVN r78711]
2012-05-28 11:05:43 +00:00
Paul A. Bristow
42e26d7071 Typo and date corrected
[SVN r78578]
2012-05-24 10:44:13 +00:00
John Maddock
382d525d15 Add basic versions of the Airy functions.
Add some extra jacobi, hankel and owens_t tests and fix resulting errors.
Allow remez code to work with expression template types.
Regenerate docs.

[SVN r78527]
2012-05-21 09:45:48 +00:00