42 Commits

Author SHA1 Message Date
Matt Borland 4d20bfd0bf Fix X11 naming clash in roots 2024-03-27 12:40:48 +01:00
ryanelandt c62682b1a6 Update kolmogorov quantile newton ub to 1 (#1002) 2023-07-31 10:19:42 -04:00
Matt Borland cf58986c80 Disable test with FMA and fix bessel i prime tolerance 2022-02-10 12:36:42 +01:00
Matt Borland 08717a8391 Update error rates to match MinGW 2022-02-10 10:58:31 +01:00
Matt Borland d59c734c5e Remove boost.assert 2021-03-14 12:22:26 +03:00
jzmaddock f539601e9f test_roots: Correct #endif location! 2019-09-16 09:11:41 +01:00
jzmaddock 8e5f9b177c Merge branch 'develop' into issue_161 2019-09-15 18:28:54 +01:00
jzmaddock 1b8a06f3ec roots.hpp: Update to newton_raphson_iterate and halley_iterate to catch cases where there is no root, or we are trapped in a local minima.
Also suppress some warnings in polynomial.hpp and update tests.
Fixes: https://github.com/boostorg/math/issues/161.
2019-09-15 14:39:50 +01:00
jzmaddock 0f7b469ccb roots.hpp: rework quadratic_roots so that integer types are promoted to double.
Add workaround for platforms with no std::fma.
Fixes https://github.com/boostorg/math/pull/249.
2019-09-12 09:01:29 +01:00
Nick Thompson 9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
jzmaddock 050679a933 Update test_roots.cpp to test in the negative half of the domain as well as the positive half.
Fix resulting bugs discovered.
Completes fix for https://github.com/boostorg/math/issues/216.
2019-06-14 08:36:16 +01:00
Nick Thompson bee2889e85 Change solve_quadratic to quadratic_roots. [CI SKIP] 2018-12-27 12:44:46 -07:00
Nick Thompson eab2b5260e Solve quadratic equations 2018-12-26 18:30:02 -07:00
jzmaddock 0f3365c576 test_roots.cpp: Fix macro usage (again), also split up CI tests a bit more to handle timeouts. 2018-12-10 19:31:42 +00:00
jzmaddock bf1b9729be test_roots.cpp: Fix Boost.Config macro usage from merged PR. 2018-12-09 08:54:02 +00:00
Nick Thompson 5818b07728 Make sure huge roots and tiny roots are found. [CI SKIP] 2018-12-07 10:35:02 -07:00
Nick Thompson cb71b06c10 You would think a double precision complex division would be the same on every compiler. You would be wrong. 2018-12-04 14:28:04 -07:00
Nick Thompson 66373a0b22 Fix failing unit test by using semi-scale invariant termination criteria. [CI SKIP] 2018-11-28 14:35:34 -07:00
Nick Thompson af5b91a5be Let x* be the root of f. Add failing unit test for function such that f(x*) > sqrt(eps). [CI SKIP] 2018-11-26 14:10:14 -07:00
Nick Thompson 3b62d7cd72 Trivial changes to green up build. 2018-11-25 11:23:06 -07:00
Nick Thompson f78578b42b Remove float128 tests to green up builds. Plenty of multiprecision is being tested as it stands. 2018-11-25 01:24:19 -07:00
Nick Thompson 3ab69d00ee Complex Newton's method. Zero derivatives handled by Muller's Method. 2018-11-25 00:19:11 -07:00
jzmaddock 91c193d2d2 Improve heuristics used in newton_raphson_iterate.
Copies heuristics already in place for halley_iterate for the case where convergence fails.
Fixes: https://github.com/boostorg/math/issues/145
2018-08-19 16:27:45 +01:00
Nick Thompson cf35d745d1 Remove unused typedef. Fix dangling reference to policy in airy. Pipe unused variables in compile test to /dev/null to suppress compiler warnings. Remove comment within comment. 2017-05-03 10:13:18 -06:00
jzmaddock 5d48124b80 Adjust Intel C++ error rates. 2016-08-10 18:52:26 +01:00
jzmaddock 74a42f98ea Fix various typos.
Change Schroeder to Schroder.
2015-05-18 18:23:47 +01:00
jzmaddock 728ec23c21 Add lots of missing #includes. 2014-03-21 17:36:18 +00:00
Gennadiy Rozental 3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock 887f590fcd Refactor the tests some more: allow tables of data to be of a different type to the type being tested - allows us to have tables of POD's (fast to compile) rather than tables of UDT's which compile very slowly on some compilers (usually Intel).
[SVN r76544]
2012-01-16 18:25:02 +00:00
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
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
Bryce Adelstein-Lelbach f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
John Maddock 0c633f0b6e Change the use of tuples, so that we use std::tuple when available.
Fix bug in calculation of initial guess in the incomplete gamma inverse.
Fix illegal comment in inverse_gamma.hpp source file.
Update docs to reflect tuple changes.
Regenerate docs.
Add Jamfile for the tools directory and make sure everything still builds cleanly.

[SVN r65320]
2010-09-06 15:13:23 +00:00
John Maddock 2246b77395 Change tests to link to external Boost.Test library as this speeds build times by several factors when building with Intel C++.
Change fpclassify to use our code rather than std::fpclassify with Intel C++ as it doesn't always compile the latter.

[SVN r51576]
2009-03-03 17:16:56 +00:00
John Maddock eb9b7a8839 Improve pch support.
Move configuration tests to their own directory so they're only run when required.

[SVN r49442]
2008-10-23 12:24:45 +00:00
John Maddock e7db05cc1a Merged changes from Trunk.
[SVN r41085]
2007-11-14 12:11:23 +00:00
Paul A. Bristow e86d2c339c warning suppression with comment - constant too big for float.
[SVN r39403]
2007-09-20 11:39:30 +00:00
Paul A. Bristow cb82bea11e Paul's Big policy revison
[SVN r38413]
2007-08-03 10:13:47 +00:00
John Maddock 472614473a Merged policy code.
[SVN r7536]
2007-07-25 11:51:46 +00:00
John Maddock cd90a9f0d4 Updated and documented the new root finding code.
[SVN r3111]
2006-07-31 18:05:41 +00:00
John Maddock 6910a75524 Reorganised and refactored limits and constants code.
[SVN r3028]
2006-06-24 12:00:53 +00:00
John Maddock aa2c565d12 Initial commit.
[SVN r2955]
2006-05-21 15:45:37 +00:00