jzmaddock
dfab2ad7fe
Coverage: extra lambert_w test cases.
2025-04-30 11:35:08 +01:00
jzmaddock
ca4d89128a
Coverage: Improve Lambert_w error handling and fix up test cases.
2025-04-29 16:42:01 +01:00
jzmaddock
a7bb5f5c8b
Coverage: Add more tests for LambertW.
...
Also change infinities to overflow_errors, and remove dead code branch.
2025-04-29 12:24:17 +01:00
ryanelandt
2c74b149b0
has_denorm_now ( #1029 )
...
* initial commit
* remove == std::denorm_present
* remove extra ) in ccmath/next
2023-10-30 09:37:29 +01:00
jzmaddock
fae96bf542
S390x testing: make all the tests 128-bit float safe.
...
* Remove tests we don't need right now.
!!!REVERT THIS COMMIT BEFORE MERGING!!!
* Add s390x testing to drone.
* Correct drone file.
* Correct drone file (again)
* Prevent complete cancellation in bessel_jy logic.
* Correct testing for 128-bit floats.
* Make some more tests 128-bit long double safe.
* Make more tests 128-bit float safe.
* Fix some more 128-bit testing issues.
* More 128-bit float fixes.
* Make more tests 128-bit float safe.
* Fix up remaining tests for 128-bit floats.
* Yet more 128-bit float test case fixes.
* Fix up more tests for 128-bit floats and non-intel platforms.
* Fix up more tests to be 128-bit long double safe.
* More test case adjustments.
* More 128-bit float error rate adjustments.
* Fixes for autodiff tests
* Two more test fixes.
* Fix up daubechies_scaling_test.cpp and reinstate full CI.
Co-authored-by: Matt Borland <matt@mattborland.com >
2023-01-11 18:31:05 +00:00
jzmaddock
192888e732
Complete removal of direct use of lexical_cast.
...
Correct silly typo in unchecked_factorial.hpp.
Remove TEST_STD define in config.hpp as it needlessly breaks the TR1 tests.
Remove lexical_cast.hpp workaround file.
Correct #pragma in tr1.hpp.
2022-01-17 15:36:33 +00:00
Matt Borland
e1601f129a
Complete CI test with standalone mode ( #680 )
2022-01-14 08:12:22 -08:00
Matt Borland
5ae92ba0c3
Replace several boost types [ci skip]
2021-02-15 16:00:08 +03:00
jzmaddock
dd13562176
Fix up more tests for PPC64.
2021-02-08 16:47:21 +00:00
jzmaddock
92cf7ec7b8
Tidy up more failing tests.
2021-02-08 11:18:02 +00:00
jzmaddock
f371e87b6e
Fix up test programs to work with BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS.
...
Add more tests to CI.
2021-02-07 19:35:01 +00:00
Nick
8d258f674e
Increase tolerance for Lambert W to get it green on some builds.
2020-03-28 07:46:07 -04:00
Nick
115ad14101
tolerance param != unit roundoff; so fix that.
2020-03-27 09:49:18 -04:00
Nick
2c4fec1e4c
Relativize the error in the Lambert-W tests to the condition number of function evaluation.
2020-03-27 08:02:29 -04:00
jzmaddock
1e0179c883
Remove dispatching via mpl and stick to boost::integral_constant.
...
Simplify the dispatching logic to use mpl::if_ and broken compiler workarounds less often.
Fixes: https://github.com/boostorg/type_traits/issues/133 .
2020-01-13 15:14:48 +00:00
Brian Wignall
e3a45bd10b
Fix typos, after fixing bug in typochecker
2019-12-25 22:42:26 -05:00
pabristow
1d04bf714e
Removed use of unit_test_framework namespace as is obselete. BOOST_TEST_MESSAGE should be enabled by adding --log_level=message to run parameters if required
2019-11-04 17:47:23 +00:00
Nick Thompson
9b14fff12e
Remove header deprecation warnings.
2019-08-10 08:50:12 -04:00
jzmaddock
3b7cbe6be6
CI fixes: adjust lambertW expected error rates.
2018-09-01 18:46:33 +01:00
jzmaddock
79871fe747
LambertW: CI fixes.
...
Fix definition of lambert_w0_small_z_series_term.
Move rational approximations into smaller functions to try and keep msvc happy.
2018-08-31 19:53:34 +01:00
jzmaddock
02c7df005d
LambertW: Fix more CI failures:
...
Add fallback for 128-bit lambertW implementation.
Disable real_concept tests for msvc-12 and earlier as the compiler can't cope.
2018-08-31 09:56:03 +01:00
jzmaddock
982d82b2b5
LambertW: Hook up real_concept tests and fix resulting errors.
2018-08-30 19:48:27 +01:00
jzmaddock
45b86cf115
LambertW: Fix up GCC support.
...
Split tests into smaller units so as not to generate over-large object files.
2018-08-29 19:34:30 +01:00
jzmaddock
50c014abdc
LambertW: further improvements to code coverage.
2018-08-28 17:23:02 +01:00
jzmaddock
460e50a1fc
LambertW: Add test data for very large values.
2018-08-27 19:48:59 +01:00
jzmaddock
10e6f0d68f
Lambert W: Add tests near the singularity.
...
Fix a couple of minor issues in the implementation to improve error rates.
NB: errors very near the singularity are still very high - this is an intrinsic property of the function - we are solving z = w exp(w) for w, but there are actually a wide range of w values which satisfy the equation once we get very close to the singularity.
2018-08-26 19:51:15 +01:00
jzmaddock
a1d658aed1
LambertW: start to split tests into smaller chunks.
2018-08-23 10:26:17 +01:00
jzmaddock
5edc682dac
test_lambert_w.cpp: tidy up macro usage.
2018-08-22 19:32:00 +01:00
pabristow
c9f272ec1c
Lambert W much modified to remove control of precision with policy and docs to match
2018-08-01 16:55:27 +01:00
pabristow
dcc8544578
Major edit done and graphs now show legend lines.
2018-07-24 11:24:20 +01:00
pabristow
aaa38c3fee
first draft of no-precision policy version.
2018-07-17 17:39:27 +01:00
pabristow
cf52501842
Tests pass for VS, GCC8.1, integrals and derivatives, Clang 600 without integrals and without derivatives.
2018-07-11 18:26:25 +01:00
pabristow
691f2a5852
Integration tests improved with simpler lambert W
2018-07-11 15:42:19 +01:00
pabristow
23ecd1a1c0
All changes before getting develop up-to-date.
2018-05-15 14:00:34 +01:00
pabristow
3f1e3602ba
Quadrature error diagnosis improved
2018-02-27 13:20:37 +00:00
pabristow
05474951a3
demo of a diagnosing integrating bad functions and tests of primes
2018-02-22 18:16:52 +00:00
pabristow
1e1059f37f
tested OK using test_integrals
2018-02-20 17:04:28 +00:00
pabristow
2a34f3c340
Restore current files after merge went wrong.
2018-02-19 17:30:57 +00:00
pabristow
de4d578fc5
deconflict lambert_w.hpp
2018-02-19 16:54:52 +00:00
Nick Thompson
5e78b298da
[ci skip] Use Unix-style paths. Add tests for lambert-W testing integrals of the Lambert-W function.
2018-02-02 21:33:54 -06:00
pabristow
b4ffbedf1e
Change to use JM W0 version.
2018-01-30 12:11:03 +00:00
pabristow
6d73d8f517
commit so can switch to develop (problem in one polynomial nearest singularity
2018-01-23 14:38:56 +00:00
pabristow
eff8ec3c74
Tidy before getting uptodate with develop branch
2017-12-07 16:44:33 +00:00
pabristow
66067c3b6b
Added include to test_value to ensure that when used standalone with GCC that supports suffix Q, multiprecision float128 is included.
2017-11-24 16:53:18 +00:00
pabristow
9b9414c256
numerous minor fixes for JM 1st comments on docs 19Nov17
2017-11-20 17:03:29 +00:00
pabristow
21ccf8b183
More testing near zero and some typos fixed.
2017-11-17 17:57:45 +00:00
pabristow
6aa9f286ff
Tests OK, including multiprecision.
2017-11-16 17:58:59 +00:00
pabristow
3c3c91709f
w-1 branch improvements and tests OK
2017-11-02 18:47:30 +00:00
pabristow
04121d2872
Lambert w for huge z added, and test and more docs
2017-10-28 19:13:58 +01:00
pabristow
f51d987acd
added much on W-1 branch (handling tiny z), and more docs.
2017-10-27 18:18:06 +01:00