2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-29 07:42:11 +00:00
Commit Graph

732 Commits

Author SHA1 Message Date
Christopher Kormanyos
f60b4d1279 Change use of non-portable "int" to "boost::int32_t". 2013-12-30 12:29:07 +01:00
jzmaddock
5b5550222a Fix issues raised from the regression tests: some using declaration in the Bessel code, and some changed assumptions in the airy-zeros. 2013-12-30 09:44:11 +00:00
jzmaddock
3bc0ec66c3 Hook up the concept checks. 2013-12-29 18:46:39 +00:00
jzmaddock
2a4aa11c65 Add tangent numbers overflow test. 2013-12-29 18:01:18 +00:00
jzmaddock
36d5698421 Fix buggy overflow check.
Add B2n overflow test.
2013-12-29 18:00:21 +00:00
jzmaddock
c5dde54a13 Fix gcc compiler failures 2013-12-29 10:49:27 +00:00
jzmaddock
5c628a3700 Enable tangent numbers.
Fix several error handling issues.
2013-12-29 09:40:15 +00:00
jzmaddock
5991ef3e9c Move unchecked_bernoulli_b2n over to new header and add to tests. 2013-12-28 18:18:19 +00:00
jzmaddock
5dba5e7785 Commit test case.
Refactor into class-based details, and split big tables off into new header.
2013-12-28 18:12:33 +00:00
John Maddock
ccb35294e6 Ooops, make tests compatible with multiprecision testing.
[SVN r86785]
2013-11-22 17:12:06 +00:00
John Maddock
0f1076894d adjustments for GCC on Linux
[SVN r86716]
2013-11-16 09:23:13 +00:00
John Maddock
0a5a045fee Fixes for digamma and zeta based on bug reports by Rocco Romeo.
[SVN r86550]
2013-11-03 17:55:22 +00:00
John Maddock
57b40ac443 Fix for sph_bessel when v is large and x is small.
[SVN r86343]
2013-10-17 18:21:56 +00:00
John Maddock
c3aa1d325c Fix test case.
[SVN r86178]
2013-10-06 17:12:46 +00:00
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