2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 08:02:11 +00:00
Commit Graph

718 Commits

Author SHA1 Message Date
John Maddock
2fdd8e9256 Fix test cases
[SVN r85963]
2013-09-26 17:03:11 +00:00
John Maddock
f50e0f1f9b Fix GCC -Wshadow warnings.
[SVN r85667]
2013-09-14 16:07:45 +00:00
John Maddock
a3e3e86eaf Fix bug in incomplete beta inverse estimation routine (when estimating from student's t).
Add special cases to incomplete beta and inverse for a=b=0.5 and b=1.
Added tool for generating high precision gamma function test values.

[SVN r85572]
2013-09-05 15:56:17 +00:00
John Maddock
f571156b54 Made a few core functions usable with long double even when there is no std lib long double support.
Fixes #8940.

[SVN r85188]
2013-08-02 08:30:04 +00:00
John Maddock
7858278bec Fix gcc-4.8.x warnings.
Fix some Mingw failures.
Fixes #8855.

[SVN r85131]
2013-07-23 11:09:47 +00:00
John Maddock
fc451ee936 Don't throw exceptions from itrunc/iround if all we're doing is checking to see if the argument is an integer.
Don't propagate no-throw policies inside MPFR's itrunc/iround.
Use normal approximation to student's t quantile when the degrees of freedom is big enough.
Fixes #8837.

[SVN r85075]
2013-07-18 17:31:42 +00:00
John Maddock
fc9da60883 Apply remaining fixes from #8732.
Also adds msb (most significant bit) function to multiprecision.
Fixes #8732.

[SVN r84921]
2013-07-01 15:43:28 +00:00
John Maddock
dca59f0d25 Add test for things that are macros in C99 to ensure we call these correctly.
Refs #8732.
Fixes #8733.

[SVN r84917]
2013-06-30 11:05:21 +00:00
Steven Watanabe
8428c7ace4 Name the long_double_support test.
[SVN r83783]
2013-04-06 22:26:15 +00:00
John Maddock
c07c35a34e Refactored build process to improve compile times.
Fixed expression-template incompatibility in spherical_harmonic.hpp.
Fixed expression template issues in log1p_expm1_test.hpp and test_cbrt.hpp.

[SVN r83775]
2013-04-06 08:54:04 +00:00
Paul A. Bristow
9db201aad9 Revised zztest_max_digits10 test to check on RaspberryPI failures in constants_eg1.cpp.
[SVN r83598]
2013-03-27 11:52:17 +00:00
Paul A. Bristow
6ee3663a45 Re-enabled zztest_max_digits10 test to check on RaspberryPI failures in constants_eg1.cpp.
[SVN r83597]
2013-03-27 11:48:33 +00:00
Paul A. Bristow
0b57dde6d2 Increased tolerance for realConcept
[SVN r83584]
2013-03-26 14:59:27 +00:00
John Maddock
6e626c1830 Fix edge case in Halley iteration where the derivative is flatlining.
Fix edge cases in poisson distribution quantile.
Fixes #8314.
Fixes #8308.
Update and regenerate docs.

[SVN r83512]
2013-03-21 13:01:50 +00:00
Paul A. Bristow
4da4129672 Added tests for airy multi-root versions.
[SVN r83423]
2013-03-14 11:20:15 +00:00
John Maddock
307d5ae933 Adjust tgamma_ratio failure rates, fix some clang warnings, plus a bug in error_handling.hpp that causes unitialized variable use in some situations.
[SVN r83360]
2013-03-08 12:16:13 +00:00
John Maddock
343d9ba8e6 Remove dependency on quadmath.h.
Fixes #8265.

[SVN r83356]
2013-03-08 11:33:04 +00:00
Paul A. Bristow
407f10a01a Yet another tolerance tweak for airy_ai_zero and airy_bi_zero for 80 bit platforms.
[SVN r83343]
2013-03-07 10:03:28 +00:00
John Maddock
42b3d6bb0f Fix a couple of expression template support issues in bessel.hpp.
Add minimal support for __float128 - particularly numeric constant support.
Improve constant test cases.
Fix bug in zeta function tests.

[SVN r83342]
2013-03-07 09:17:09 +00:00
John Maddock
642088581c Don't mix Boost.Test with multiprecision types.
[SVN r83329]
2013-03-06 09:13:10 +00:00
John Maddock
5d0ec69822 Change to use Multiprecision lib rather than NTL for constants generation.
[SVN r83317]
2013-03-05 18:34:55 +00:00
John Maddock
6c6e542ed4 Tighten up error handling is tgamma_ratio.
[SVN r83316]
2013-03-05 18:33:58 +00:00
Paul A. Bristow
cdf652e5f7 Yet more tweaks, this time for Darwin strange long doubles.
[SVN r83309]
2013-03-05 12:34:11 +00:00
Paul A. Bristow
7d24320a59 Yet another tolerance tweak for long double.
[SVN r83293]
2013-03-04 10:25:27 +00:00
John Maddock
51dd944d85 Improve accuracy of tgamma_ratio when one argument is very small, thanks to ideas from Rocco Romeo.
[SVN r83250]
2013-03-02 18:59:50 +00:00
John Maddock
cd55f94984 Fix bug in zeta that results in an incorrect domain_error for -eps < s < 0.
Add new constant needed by fix.

[SVN r83228]
2013-03-01 13:18:07 +00:00
Paul A. Bristow
36ab3af7c7 Added missing L and increased a few more tolerances.
[SVN r83226]
2013-03-01 10:15:06 +00:00
Paul A. Bristow
39d6a82424 Added missing L and increased a few more tolerances.
[SVN r83225]
2013-03-01 10:10:10 +00:00
Paul A. Bristow
f172fd85a8 Increased a few tolerances to allow for 80 bit GCC platforms.
Added new tests for the discontinuity near mid-point between integer orders.

[SVN r83199]
2013-02-28 09:46:32 +00:00
Paul A. Bristow
256f7c436b Added tests for airy (0) call and more spot values, passing on MSVC 10.
[SVN r83187]
2013-02-27 12:51:52 +00:00
Paul A. Bristow
e90f566315 Added cyl_neumann tests with negative order. Two failures to find root, and some disagreement with Wolfram - where I think Wolfram is wrong!
[SVN r83149]
2013-02-25 12:44:23 +00:00
John Maddock
712cbabdb1 Tweak permitted error rates.
[SVN r83106]
2013-02-23 18:31:36 +00:00
John Maddock
b65f2d0e64 Up tolerance.
[SVN r83105]
2013-02-23 18:27:41 +00:00
Paul A. Bristow
2fc39a9010 Added new test for negative orders - one requires a higher tolerance,
[SVN r83065]
2013-02-21 16:19:20 +00:00
John Maddock
c81974e215 Add missing link dependency to Paul Bristow's new example.
Fix tgamma bug reported by Rocco Romeo.
Update history.

[SVN r83011]
2013-02-19 17:02:50 +00:00
Paul A. Bristow
cc199a609e Added tests for zero'th order.
(comment in test_ibeta)

[SVN r82972]
2013-02-18 10:23:23 +00:00
Paul A. Bristow
0fc1447ba6 Added test_bessel_airy_zeros to jamfile to allow testers to run it.
(passes on a local test using MSVC and compiles OK on Clang and gcc)

[SVN r82894]
2013-02-14 22:36:52 +00:00
John Maddock
60198aafca Fix raise_rounding_error to return the correct result (and type) when an error occurs.
Fixes #7905.

[SVN r82885]
2013-02-14 18:20:03 +00:00
Paul A. Bristow
bdc220f7ca Updated tests using int m.
[SVN r82881]
2013-02-14 15:54:34 +00:00
Paul A. Bristow
cb0fc34a37 unsigned m changed to int
[SVN r82875]
2013-02-14 14:35:14 +00:00
Paul A. Bristow
95a4479b8d Removed non-ASCII chars #8043. Other tests being added and modified.
[SVN r82868]
2013-02-14 10:26:02 +00:00
John Maddock
76cc581bce Refactor Bessel function code:
* Remove unused dead code.
* Improve and centralise asymptotic selection.
* Reorder algorithm selection in bessel_jy.
* Allow use of integer algorithms for arbitrary order - they're no slower than Steeds method which is also O(n).

[SVN r82816]
2013-02-11 12:12:50 +00:00
Paul A. Bristow
6eb440db06 Increased tolerance to 2 * epsilon for the one cycl_neumann failure, and a note on why.
[SVN r82806]
2013-02-10 12:35:48 +00:00
John Maddock
4d1e810132 Enable better error handling in bessel-zero code.
[SVN r82787]
2013-02-08 17:28:49 +00:00
John Maddock
c8931731c0 Fix parameter order, and change to be a unit test.
[SVN r82784]
2013-02-08 16:26:05 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
2be883f332 Reordered parameters to Bessel and Airy root finders.
Update to docs with references.

[SVN r82764]
2013-02-06 18:53:06 +00:00
Paul A. Bristow
e4c2d969ff Airy tests done.
One failure, perhaps just needing tolerance increasing?

Or is there a mistake?

[SVN r82750]
2013-02-05 14:21:56 +00:00
Paul A. Bristow
bd770b358c More bessel and Lots more neumann tests. I failure at double epsilon airy TODO.
[SVN r82749]
2013-02-05 12:59:09 +00:00
Paul A. Bristow
61797374b3 More tests added for coverage and for new signature. TODO more coverage on neumann, and some edge cases, and parameter order?
[SVN r82733]
2013-02-04 18:03:48 +00:00