2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-28 19:32:08 +00:00
Commit Graph

533 Commits

Author SHA1 Message Date
John Maddock
309e2c3ec5 Add support for "mpreal" wrapper for mpfr.
Add concept check for mpreal type.
Add previously missing doc file.
Fix type promotion rules to do the right thing when one type is a class type that's implicitly convertible to a real.

[SVN r67282]
2010-12-17 16:04:51 +00:00
John Maddock
555f3d6736 Improve performance of non-central T by simplifying the arithmetic where possible.
Change error handlers to pass the target type down to "rounding errors".
Change the rounding error handlers to return a well defined value (the maximum representable value in the target type).
Update and complete docs on rounding errors.
Fix typo in test/test_beta_dist.cpp.
Regenerate the docs.
Remove illegal comment from test_constants.cpp.
Fixes #4977.

[SVN r67231]
2010-12-14 19:22:52 +00:00
Paul A. Bristow
7066584f84 Removed inverse_uniform.hpp
[SVN r67221]
2010-12-13 16:46:36 +00:00
Paul A. Bristow
a8167547d8 Test Corrected handling of cases that should raise overflow_error
[SVN r67211]
2010-12-13 16:34:14 +00:00
Paul A. Bristow
c7529cc4da Actually use sqrt(epsilon) in test
[SVN r67210]
2010-12-13 16:32:38 +00:00
John Maddock
4702b2b1c8 Fix test values and *lower* tolerance.
[SVN r67100]
2010-12-08 09:54:59 +00:00
Paul A. Bristow
0d5c831761 Comment on max theoretical accuracy for median which uses Brent's algorithm.
[SVN r67087]
2010-12-07 18:00:54 +00:00
John Maddock
8177da58be Add non-functional stub versions of the skewness and kurtosis to the non-central beta.
Update tests accordingly, and suppress some compiler warnings.

[SVN r66986]
2010-12-03 17:55:00 +00:00
John Maddock
7ff88c69f1 Added concept checks for new distros, and fixed resulting errors.
Added mean and variance to non-central beta.

[SVN r66985]
2010-12-03 16:23:55 +00:00
Paul A. Bristow
b3944c07f0 Increased tolerance for real_concept failure
[SVN r66971]
2010-12-02 12:27:16 +00:00
Paul A. Bristow
22cb5fc9e7 Increased tolerance for realconcept long double failures.
[SVN r66970]
2010-12-02 12:22:58 +00:00
Paul A. Bristow
2559953dd5 Added missing static_cast to quiet warning
[SVN r66969]
2010-12-02 12:19:28 +00:00
Paul A. Bristow
713df8e8f0 Increased tolerance to avoid long double failure
[SVN r66968]
2010-12-02 11:39:55 +00:00
Paul A. Bristow
97471e2e29 Enabled mean, variance ... for dotnetexample (TODO return NaN?)
[SVN r66954]
2010-12-01 18:40:02 +00:00
Paul A. Bristow
4134fa5864 Change test values to long
[SVN r66890]
2010-11-30 11:38:19 +00:00
Paul A. Bristow
3d263c7621 Check before using max_digits10
[SVN r66885]
2010-11-30 10:03:01 +00:00
Paul A. Bristow
e94d8be838 Changed tolerance to explicitly cast 1e-4 to RealType to try to remove gcc long double test failures.
[SVN r66837]
2010-11-29 10:06:52 +00:00
Paul A. Bristow
10129df762 Correction
[SVN r66764]
2010-11-26 10:22:21 +00:00
Paul A. Bristow
2f8b1db494 New test
[SVN r66734]
2010-11-24 16:55:52 +00:00
Paul A. Bristow
904dd93811 New geometric
[SVN r66733]
2010-11-24 16:55:19 +00:00
Paul A. Bristow
2b6205a1c8 New test /test_real_concept_neg_bin.cpp
[SVN r66718]
2010-11-24 16:28:18 +00:00
Paul A. Bristow
4b785900bc Added comment on pch include needed.
[SVN r66717]
2010-11-24 16:27:33 +00:00
Paul A. Bristow
b0eb3cea87 Corrected tests
[SVN r66716]
2010-11-24 16:26:47 +00:00
Paul A. Bristow
ee3db8ad35 Added new distributions.
[SVN r66715]
2010-11-24 16:26:22 +00:00
Paul A. Bristow
f3145ed3d8 Added new distributions.
[SVN r66714]
2010-11-24 16:24:26 +00:00
John Maddock
d37f9ff991 Remove bogus comment.
[SVN r66460]
2010-11-08 17:59:46 +00:00
John Maddock
7cc19b4be2 Added additional test case in hopes of reproducing bug report #4812.
Refs #4812.

[SVN r66454]
2010-11-08 16:30:01 +00:00
John Maddock
35627d741f Fix tests that fail with gcc in C++0x mode.
Add some stricter tests for fp-classification routines.

[SVN r66451]
2010-11-08 12:55:06 +00:00
John Maddock
0d88e28f3e Add a test to verify that our real_concept test code works as it should.
[SVN r66036]
2010-10-17 11:52:24 +00:00
John Maddock
6414e27179 Fix expected failure rates for platforms with no long doubles.
[SVN r65972]
2010-10-15 10:33:13 +00:00
John Maddock
5e2d4a0fa3 Disable long double tests if the config check fails.
[SVN r65971]
2010-10-15 10:30:11 +00:00
John Maddock
60eac640bd Fix warning about unused variable.
[SVN r65713]
2010-10-01 15:53:15 +00:00
John Maddock
bbc5edfe1c Add concept checks for new distributions.
Fix Linux gcc failures for new distributions.

[SVN r65694]
2010-09-30 17:16:14 +00:00
Paul A. Bristow
3da28647bf Added two new distributions.
[SVN r65663]
2010-09-29 09:12:59 +00:00
Paul A. Bristow
c88ec94301 Added more tests.
[SVN r65662]
2010-09-29 09:12:08 +00:00
Paul A. Bristow
aef81aae40 Added explicit #include <cerrno>
[SVN r65661]
2010-09-29 09:10:00 +00:00
Paul A. Bristow
294509bae1 Added comment on location of pch.cpp
[SVN r65660]
2010-09-29 09:08:50 +00:00
Paul A. Bristow
58cc26ac13 Tests for new distribution, including spot values from Mathematica.
[SVN r65659]
2010-09-29 09:08:05 +00:00
John Maddock
b85756d2cc Improve error handling and fix Linux errors.
[SVN r65444]
2010-09-17 18:13:45 +00:00
John Maddock
0c633f0b6e Change the use of tuples, so that we use std::tuple when available.
Fix bug in calculation of initial guess in the incomplete gamma inverse.
Fix illegal comment in inverse_gamma.hpp source file.
Update docs to reflect tuple changes.
Regenerate docs.
Add Jamfile for the tools directory and make sure everything still builds cleanly.

[SVN r65320]
2010-09-06 15:13:23 +00:00
Paul A. Bristow
fda473559c Added test output. OK with typeof recent update.
[SVN r65192]
2010-09-02 11:32:45 +00:00
Paul A. Bristow
17dd598600 Treat x == 0 as special case (some platforms find NaN not 0)
[SVN r65191]
2010-09-02 11:30:49 +00:00
Paul A. Bristow
afe08e4bd5 Comments added.
[SVN r65169]
2010-09-01 17:43:55 +00:00
Paul A. Bristow
c9c18d61af add test of inverse_gamma distributiont
[SVN r64970]
2010-08-23 14:55:22 +00:00
Paul A. Bristow
f52488a504 1st version of test
[SVN r64967]
2010-08-23 11:54:27 +00:00
Paul A. Bristow
8db4067d4a Checked output for VS2010
[SVN r64966]
2010-08-23 11:48:53 +00:00
Paul A. Bristow
d8161bad51 Added comment on pch.hpp include needed.
[SVN r64965]
2010-08-23 11:46:47 +00:00
Paul A. Bristow
bb07710d9f Added comment on pch.hpp include needed.
[SVN r64964]
2010-08-23 11:45:37 +00:00
John Maddock
53d56d58ad Set linkage requirements for cygwin/mingw - fixes #4499.
[SVN r64629]
2010-08-06 09:29:04 +00:00
John Maddock
96f28fa442 Up the tolerance for the new quantile tests, as these fail for sun otherwise.
[SVN r64624]
2010-08-06 08:26:16 +00:00