2
0
mirror of https://github.com/boostorg/math.git synced 2026-02-01 20:42:19 +00:00
Commit Graph

738 Commits

Author SHA1 Message Date
John Maddock
381bddafa0 Finish moving test cases into headers.
Fix array declarations so GCC doesn't warn about them.
Declare constants in headers so they can be used by UDT's larger than type long double.
Suppress a few warnings and fix a couple of bugs that showed up when testing with UDT's.

[SVN r75960]
2011-12-15 11:23:35 +00:00
John Maddock
434d53bc83 Fix complex number routines to work with signed zeros, changes involve:
* Use boost::math::signbit rather than comparison to zero.
* Use boost::math::changesign rather than unary negation (unary negation fails for Intel on Linux when the argument is a zero).
* Update to use boost::math::isnan/isinf rather than the old code.
* Update to use boost::math constants.
Fixes #6171.

[SVN r75933]
2011-12-13 18:11:46 +00:00
John Maddock
8d9372fac9 Begin refactoring math lib test cases as template so they can used by other numerical types.
Change constant declarations in the Math lib headers to give full digits when used with UDT's that are constructible from strings.

[SVN r75820]
2011-12-06 09:38:16 +00:00
Paul A. Bristow
cbe12e231d Added "two_thirds" and deprecate "twothirds" Trac 6199
[SVN r75773]
2011-12-02 15:01:40 +00:00
Paul A. Bristow
09c2238e7a Corrected complement cdf with Yan Zhou patch.
[SVN r75591]
2011-11-21 12:57:33 +00:00
John Maddock
c1e5af9291 Warning suppression.
[SVN r75585]
2011-11-21 09:46:33 +00:00
John Maddock
2d5ba01092 Tentative fix for platforms that have fenv.h but no fexcept_t.
[SVN r75486]
2011-11-14 12:20:13 +00:00
John Maddock
9373287faa More fixes for expression template types.
[SVN r75403]
2011-11-08 12:49:27 +00:00
John Maddock
a8d7299861 Allow distribution parameter checking to be eluded if it's already taken place.
[SVN r75196]
2011-10-31 16:38:16 +00:00
John Maddock
c43891eab0 Allow precision.hpp to work with number types in base 10.
Fix binomial_distribution quantile when success_fraction is 1.
Fixes #6069.

[SVN r75168]
2011-10-29 17:26:26 +00:00
John Maddock
34a635b621 Fix Clang build issue.
[SVN r75152]
2011-10-28 08:29:55 +00:00
John Maddock
681b9c1288 Add missing #include.
Fixes #6017.

[SVN r74937]
2011-10-13 17:31:00 +00:00
John Maddock
b7df32ac03 Apply patch from ticket #6014.
Fixes #6014.

[SVN r74927]
2011-10-12 17:09:48 +00:00
John Maddock
48e179266b Fix error checking for trunc and round functions.
Update tests to match.

[SVN r74925]
2011-10-12 11:06:09 +00:00
John Maddock
f617e8e284 Change nextafter and related functions to handle infinities as arguments the same way as GLIBC and MSVC.
Fixes #5823.

[SVN r74918]
2011-10-11 17:28:13 +00:00
John Maddock
a5941a2179 GCC workaround when using TR1 tuple.
Fixes #5934.

[SVN r74891]
2011-10-10 12:09:12 +00:00
John Maddock
303503d876 Remove unused constants.
Fix expression for tolerance in eps_tolerance.
Add include guards to prime.hpp.
Fixes #5982.
Fixes #5927.
Fixes #6001.

[SVN r74890]
2011-10-10 11:52:05 +00:00
John Maddock
f52587e616 More fixes for UDT's as arguments.
[SVN r74802]
2011-10-08 12:30:50 +00:00
John Maddock
8f22d5ebe5 Minor fixes for expression-template types.
[SVN r74572]
2011-09-26 11:01:03 +00:00
Paul A. Bristow
a74236ad41 std qualified strlen in int width = (int)std::strlen(prefix) + (int)std::strlen(body);
to comply with C++ standard.

[SVN r74480]
2011-09-20 18:03:22 +00:00
John Maddock
6e78e00321 Fix mpreal #includes.
Add some more expression-template fixes.
Add fix for Cray platform in SSE2 support selection.

[SVN r74389]
2011-09-15 17:16:20 +00:00
John Maddock
be97e03f4e Fix expression template compilation issues.
[SVN r74355]
2011-09-12 08:36:54 +00:00
John Maddock
acb59c8512 Fix usage with expression template types.
Fix fpclassify code when both BOOST_MATH_DISABLE_STD_FPCLASSIFY and isnan are defined.
Remove dead code.

[SVN r74185]
2011-09-01 18:03:31 +00:00
John Maddock
990c183d8d Fix error handling arguments.
[SVN r74184]
2011-09-01 17:47:01 +00:00
John Maddock
c416cd2772 Fix bug in e_float bindings - negative integers were incorrectly converted.
[SVN r73647]
2011-08-11 11:02:12 +00:00
Paul A. Bristow
92b23c16a6 Corrected wrong code in uniform.hpp for >upper or < lower
wrong test values in uniform cdf complemented.

Trac ticket #5733

[SVN r73360]
2011-07-25 16:49:34 +00:00
John Maddock
38b6a4f3b8 Revert BSD fix - it breaks Boost.TR1 and was nonsense anyway! :(
[SVN r72821]
2011-06-30 16:04:54 +00:00
John Maddock
4cf83544cd Add new series evaluation forms for the Bessel J and Y functions.
Also take extra care when evaluating to avoid spurious overflow/underflow.
Changed check_series_iterations to know the real-number type so messages are properly formatted.
Updated docs to match and regenerated.
Fixes #5560.

[SVN r72415]
2011-06-05 16:56:17 +00:00
John Maddock
3b71dc32eb Update Bessel functions to use series representations when x is small compared to v and also to prevent the generation of NaN's in such cases.
Update docs to match.
Fixes #5560.

[SVN r72221]
2011-05-27 17:24:08 +00:00
John Maddock
ef7f0bb940 Remove unnecessary macros.
[SVN r71989]
2011-05-16 17:30:52 +00:00
John Maddock
74d540d59a Move TR1 C-compatible macros to separate file so they don't get indexed by the docs.
[SVN r71988]
2011-05-16 17:28:48 +00:00
John Maddock
1f6642b388 Add initial version of e_float support.
[SVN r71674]
2011-05-02 18:21:28 +00:00
John Maddock
a5239fa567 Suppress a whole bunch of new gcc-4.6 warnings.
Add code to verify that the radix of the type is 2 wherever that assumption is made.
Add some more instrumentation code.

[SVN r71672]
2011-05-02 15:36:51 +00:00
John Maddock
d27407f320 Tentative fix for FreeBSD failure.
[SVN r71534]
2011-04-27 16:00:00 +00:00
John Maddock
1982cb4a4c Fix remaining Intel regressions.
Add prototypes to fwd header.
Add new functions to the concept checks.

[SVN r71432]
2011-04-23 08:17:10 +00:00
John Maddock
7f1a45870a Change fp_traits to handle sign manipulation separately from fp-classification.
Fixes some Linux/GCC regressions but not yet all.

[SVN r71405]
2011-04-21 18:11:37 +00:00
Paul A. Bristow
15c9b19ac1 Added more comments
[SVN r71404]
2011-04-21 17:53:58 +00:00
Paul A. Bristow
5cb894721b Added native_tag specialisation to try to cure failures on gcc.
[SVN r71389]
2011-04-20 08:49:02 +00:00
Paul A. Bristow
caf05d27cd Added boost::math::detail::changesign_impl(x, method()); to try to get to work with gcc.
[SVN r71381]
2011-04-19 18:04:58 +00:00
Paul A. Bristow
e3e838da6c nonfinite facets
[SVN r71371]
2011-04-18 16:19:48 +00:00
Paul A. Bristow
1da961d8e7 Changesign addded.
[SVN r71370]
2011-04-18 16:19:26 +00:00
John Maddock
c2faf71f7d Fix value returned for atanh(1).
Fixes #5385.

[SVN r70692]
2011-03-29 11:17:58 +00:00
John Maddock
bac00ef969 Cast arguments to quaternion/octonion constructors so they still work when there's no implicit conversion available.
Fixes #5369.

[SVN r70569]
2011-03-26 12:04:02 +00:00
John Maddock
4b3cdb252d Don't include fenv.h when BOOST_NO_FENV_H is set.
Fixes #5356.

[SVN r70392]
2011-03-22 18:14:00 +00:00
John Maddock
13bd3e54cc MSVC warning suppression.
[SVN r69509]
2011-03-03 11:09:23 +00:00
John Maddock
5b6c4bfeb6 Change the name of the extern "C" TR1 functions so they no longer clash with (possibly inline) std lib versions.
Fixes #4828.

[SVN r68653]
2011-02-05 10:49:43 +00:00
John Maddock
91471146f1 Fix acosh bug, and update tests and docs accordingly.
Fixes #5113.

[SVN r68421]
2011-01-24 19:04:24 +00:00
John Maddock
9744b02e98 Add more debug/diagnostic info and fix bug that manifests itself on SSE x64 machines only.
Fixes #5095

[SVN r68346]
2011-01-21 09:42:51 +00:00
John Maddock
9635919e54 Fix for IMB C++ on Linux.
Fixes #5090.

[SVN r68290]
2011-01-19 15:05:18 +00:00
Steven Watanabe
3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00