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

949 Commits

Author SHA1 Message Date
Christopher Kormanyos
bc105590a2 Preliminary tests of tgamma(). The undefined_lanczos is hard-coded. 2013-12-31 18:02:37 +01:00
Christopher Kormanyos
e02a7a5695 Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-tgamma 2013-12-31 17:28:29 +01:00
Nikhar Agrawal
58206f08b7 changed tgamma using bernoulli to mimic previous lanczos implementation for z<=-20 2013-12-31 18:51:31 +05:30
Nikhar Agrawal
6072e5f1a2 Added gamma file that uses Bernoulli implementation from gsoc work. The bernoulli using gamma function is currently called using gamma_imp_bernoulli(). Changes need to be further made. 2013-12-31 18:09:17 +05:30
jzmaddock
72934d6b24 Make parameters const consistent.
Add support for UDT's not convertible from long long.
2013-12-31 09:48:24 +00: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
36d5698421 Fix buggy overflow check.
Add B2n overflow test.
2013-12-29 18:00:21 +00:00
jzmaddock
2642c41b22 Fix GCC test failure. 2013-12-29 17:14:32 +00:00
jzmaddock
c5dde54a13 Fix gcc compiler failures 2013-12-29 10:49:27 +00:00
jzmaddock
05b8bd016c Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers
Conflicts:
	include/boost/math/special_functions/detail/bernoulli_details.hpp
2013-12-29 09:46:40 +00:00
jzmaddock
5c628a3700 Enable tangent numbers.
Fix several error handling issues.
2013-12-29 09:40:15 +00:00
Christopher Kormanyos
3fc1266dba Merge branch 'bernoulli-numbers' of https://github.com/boostorg/math into bernoulli-numbers
Conflicts:
	include/boost/math/special_functions/bernoulli.hpp
2013-12-28 19:40:14 +01:00
Christopher Kormanyos
5330a48cc4 Include header bernoulli.h. 2013-12-28 19:25:09 +01:00
Christopher Kormanyos
bdd113c2c5 Use atomic enumeration member from std, not boost. 2013-12-28 19:24:48 +01:00
Christopher Kormanyos
ce39ae3802 Consist input parameters for Bessel/Airy zeros. 2013-12-28 19:23:37 +01: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
jzmaddock
01e943386a Fix namespace used for atomic operations. 2013-12-28 16:46:42 +00:00
jzmaddock
e8a72fe32d Move Nikhar Agrawal's Bernoulli code into mainstream Boost. 2013-12-28 16:28:15 +00:00
jzmaddock
1bdcacf7bb Clean up negative argument usage in Bessel I0 and I1: negative arguments are handled at a higher level, so strip out support for them here and add an assert. See https://svn.boost.org/trac/boost/ticket/9512. 2013-12-23 09:49:28 +00:00
jzmaddock
5492dce1ed Add and document options to enable/disable __float128 usage explicitly, see: https://svn.boost.org/trac/boost/ticket/9240 2013-12-22 18:01:11 +00:00
John Maddock
7884aa6666 Add comments and fixes to FPU flags manipulation.
[SVN r86711]
2013-11-15 18:24:31 +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
bcf4ac887e Allow Boost.Math to be used without RTTI.
Fixes #9317.

[SVN r86517]
2013-10-29 17:16:09 +00:00
John Maddock
6d7249a357 Prevent spurious underflow in Bessel K.
[SVN r86472]
2013-10-27 09:23:16 +00:00
John Maddock
964435a350 Previous commit failed for types with an extended exponent range - use logarithms rather than assuming the result is zero.
[SVN r86346]
2013-10-18 08:56:42 +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
Stephen Kelly
7660f2dd3c Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00
John Maddock
341c70ccee Improve quantiles of discrete distributions to round trip integers more often.
Fixes #9183.

[SVN r86205]
2013-10-08 17:17:27 +00:00
Stephen Kelly
805e8b67d7 Math: Remove obsolete GCC version checks.
[SVN r86071]
2013-09-30 15:59:51 +00:00
Stephen Kelly
6a7ed7a92c Math: Remove use of obsolete macro
BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS was defined for old
DMC, which is no longer supported.

 https://svn.boost.org/trac/boost/changeset/85272

[SVN r86042]
2013-09-30 00:35:59 +00:00
John Maddock
c11e570ec0 Fix use of student's t approximation to inverse so we don't get 1 and 0 as the result.
[SVN r85966]
2013-09-26 18:32:55 +00:00
Stephen Kelly
9f5b46760a Math: Remove obsolete MSVC version check.
[SVN r85930]
2013-09-26 09:40:30 +00:00
Stephen Kelly
c118e1fdf5 Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macros.
[SVN r85894]
2013-09-25 10:28:56 +00:00
Stephen Kelly
8e8f2d37df Remove use of BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
[SVN r85893]
2013-09-25 10:28:28 +00:00
Paul A. Bristow
394b90801a Order of test for Trac #9126 in logistic and comments.
[SVN r85790]
2013-09-19 16:16:20 +00:00
John Maddock
f885891714 Suppress warning in fraction.hpp.
Fix internal consistency of argument reduction in elliptic integrals when the argument is very close to a multiple of PI/2.
Fixes #9107.
Fixes #9104.

[SVN r85678]
2013-09-15 16:56:43 +00:00
John Maddock
f50e0f1f9b Fix GCC -Wshadow warnings.
[SVN r85667]
2013-09-14 16:07:45 +00:00
John Maddock
eea2f238ed Fix order of error checks.
Fixes #9042.

[SVN r85601]
2013-09-08 08:46:18 +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
Paul A. Bristow
041dffcf2e Added missing version of overflow error handling to include a val parameter.
[SVN r85414]
2013-08-21 10:49:40 +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
30193aee08 Fix Thomas Luu's approximation.
[SVN r85103]
2013-07-22 11:50:26 +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
858aa989c9 Patch from Thomas Luu for the case where Pearson's approximation goes negative.
[SVN r85074]
2013-07-18 17:09:02 +00:00
John Maddock
e915b95e05 Fix formula used in non central chi squared quantile, and document code better.
[SVN r85034]
2013-07-14 16:00:11 +00:00
John Maddock
4afe08b440 Fix overflow/underflow errors when x is very close to 2.
[SVN r84951]
2013-07-04 15:31:32 +00:00
John Maddock
a4fbc8bdae Fix for evaluation at float precision.
[SVN r84944]
2013-07-03 15:51:50 +00:00