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
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
John Maddock
8243a35a5e
Don't mix literal and non-literal initializers in one table - it causes the PGI compiler to generate incorrect code.
...
Refs #8621 .
[SVN r84789]
2013-06-15 08:04:54 +00:00
John Maddock
fd33bddb6c
Don't mix literal and non-literal initializers in one table - it causes the PGI compiler to generate incorrect code.
...
Refs #8621 .
[SVN r84714]
2013-06-09 14:14:11 +00:00
John Maddock
c08785d7dd
Minor fix for multiprecision types.
...
[SVN r84547]
2013-05-29 11:12:06 +00:00
John Maddock
1f0d223ba6
Try and suppress msvc warning.
...
Refs #8584 .
[SVN r84355]
2013-05-18 17:54:46 +00:00
John Maddock
7f885fda28
Fix buggy last commit.
...
[SVN r83808]
2013-04-08 12:04:26 +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
John Maddock
6f086d3729
Remove outdated workarounds and simply code.
...
Fixes #8333 .
[SVN r83748]
2013-04-03 17:45:33 +00:00
John Maddock
1fc563b576
disable __float128 constants in __STRICT_ANSI__ mode as GCC doesn't support them. Fix a bunch of warnings emitted by gcc-4.8.
...
[SVN r83632]
2013-03-29 19:01:05 +00:00