2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
Matt Borland
ff1a265e45 Add to test_constants 2023-05-31 17:06:05 +02: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
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08:00
Matt Borland
9c243dbb49 Replace <boost/config> w <boost/math/tools/config> 2021-03-23 21:38:13 +03:00
Matt Borland
2c59738acf Remove workarounds 2021-03-22 21:08:44 +03:00
Felix von Drigalski
982ad5c133 Add tau alias 2021-03-13 23:55:26 +09:00
Matt Borland
d70da65012 Revert to 8e9647b [CI SKIP] 2021-02-07 22:40:33 +03:00
Matt Borland
3a3a1335f3 Put boost::integral_constant back. std breaks mpfr 2021-02-07 21:42:50 +03:00
Matt Borland
8e9647b4b1 Remove MPL from constants 2021-02-07 17:54:19 +03:00
Nick Thompson
b3d2e7d8af Try to green up build by increasing acceptable accuracy. 2021-01-14 16:21:44 -05:00
Nick
fa23c83bb1 Laplace limit. (#409) 2020-07-27 21:26:24 -04:00
Nick
326faa4c28 Reciprocal Fibonacci constant and Dottie number. (#407) 2020-07-25 09:26:38 -04:00
Nick
4facb20ff9 Gauss's constant G:=1/agm(1,sqrt(2)) (#363) 2020-06-05 20:25:04 -04:00
Nick
4e0e8eb005 Add Feigenbaum constant. (#351)
* Add Feigenbaum constant.

* Add isnan to real_concept. Convert test_constants.cpp to math_unit_test.cpp.

* Reduce ULP tolerance to 2, which is the minimum that passes on my machine.

* Improvements to Feigenbaum.

* Ok this is pretty complicated . . . [CI SKIP]

* Take jzmaddock's suggestion to remove additions to real_concept.

* Remove test the demonstrates throw.

* Use BOOST_STATIC_ASSERT_MSG to retain C++03 compatibility.

* More precise conversion from binary to decimal.

* Plastic constant.

* Fix typos.

* New tests [CI SKIP]

* bugfix in test [CI SKIP]

* Update docs for new constants [CI SKIP]

* Fix outdated instructions [CI SKIP]

* Do C++11 check for new constants.

* Update constants.qbk [CI SKIP]

* Hopefully green up build

* Constants still *work* in C++03, but now they must be tested in C++11 mode.

* Remove boost::math::isnan.

* Test file requires C++17.
2020-06-04 21:57:38 -04:00
Edward Diener
6d678efbf7 Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost config for the Embarcadero non-clang-based compilers. (#345) 2020-05-06 11:46:51 -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
3c976e5e09 Fix typos 2019-12-24 21:42:09 -05:00
jzmaddock
417d10c7e4 Add some more constants that are present in POSIX but absent from Boost.Math. 2019-09-13 13:35:33 +01:00
jzmaddock
97ff1ef8a0 Add constant log2_e. 2019-09-12 13:33:13 +01:00
Nick Thompson
9b14fff12e Remove header deprecation warnings. 2019-08-10 08:50:12 -04:00
Nick Thompson
c81919ff26 Remove typos and unused variables. 2018-10-30 14:39:49 -06:00
Nick Thompson
ea0128205e Consolidate constexp constant tests into single section. Remove unused typedef from Lambert-W integral tests. Update README.md with CI status. [CI SKIP] 2018-10-30 13:38:31 -06:00
pabristow
0048d41dd6 Added new constants expminusone and sixth 2017-03-10 13:06:44 +00:00
jzmaddock
b91bb896ee Use BOOST_MATH_CONSTEXPR in test case to match header code. 2015-08-29 13:16:00 +01:00
jzmaddock
bf29ef6628 Begin marking up functions as constexpr and noexcept where possible. 2015-08-23 17:50:56 +01:00
jzmaddock
ee2d3a68af Oh my, fix lots of typos (search and replace). 2015-06-18 18:47:50 +01:00
jzmaddock
b6e56ccd22 [constants] Fix namespace scope constants so they are constexpr, see https://svn.boost.org/trac/boost/ticket/10901 2015-01-05 18:32:30 +00:00
jzmaddock
593fee4ce6 [tests] Disable long double tests when not supported. 2014-12-10 18:23:17 +00:00
jzmaddock
3fe188da32 Remove all references to pow23_four_minus_pi: it's been removed, see also https://github.com/boostorg/math/pull/5 2014-08-17 09:28:37 +01:00
jzmaddock
6bddb5be85 Merge branch 'cstdfloat' into develop
Conflicts:
	doc/overview/roadmap.qbk
	example/cstdfloat_example.cpp
	include/boost/cstdfloat.hpp
	test/test_gamma.cpp
	test/test_gamma.hpp
2014-03-19 13:38:42 +00:00
jzmaddock
296173dbe2 Some mostly cosmetic changes to the cstdfloat docs. 2014-03-17 16:58:58 +00:00
jzmaddock
4daf06baea Minor fix for tests run on PPC64 from Tony Reix. 2014-02-28 18:23:20 +00:00
John Maddock
343d9ba8e6 Remove dependency on quadmath.h.
Fixes #8265.

[SVN r83356]
2013-03-08 11:33:04 +00:00
John Maddock
42b3d6bb0f Fix a couple of expression template support issues in bessel.hpp.
Add minimal support for __float128 - particularly numeric constant support.
Improve constant test cases.
Fix bug in zeta function tests.

[SVN r83342]
2013-03-07 09:17:09 +00:00
Gennadiy Rozental
3bc111cdb7 Eliminated test_exec_monitor
[SVN r82782]
2013-02-08 05:09:47 +00:00
John Maddock
fd8770b9b5 Modify constants code to return a constant reference when returning a cached value, while still maintaining value semantics and constexpr support for built in types.
[SVN r82585]
2013-01-22 12:16:51 +00:00
Paul A. Bristow
69ba66929d Rebuilt after edits to quiet nags.
[SVN r79834]
2012-08-01 16:32:48 +00:00
Paul A. Bristow
c6ca03bde1 Added tests for new constants two_div_pi and sqrt_two_div_pi
[SVN r76819]
2012-02-01 12:28:38 +00:00
John Maddock
03ced014ee Fix Linux x64 error rates
[SVN r76754]
2012-01-28 17:59:49 +00:00
John Maddock
682d60c363 Merge new math constants code from the sandbox.
Regenerate docs.
Fix build failures caused by merge.

[SVN r76736]
2012-01-28 12:13:17 +00:00
John Maddock
555f3d6736 Improve performance of non-central T by simplifying the arithmetic where possible.
Change error handlers to pass the target type down to "rounding errors".
Change the rounding error handlers to return a well defined value (the maximum representable value in the target type).
Update and complete docs on rounding errors.
Fix typo in test/test_beta_dist.cpp.
Regenerate the docs.
Remove illegal comment from test_constants.cpp.
Fixes #4977.

[SVN r67231]
2010-12-14 19:22:52 +00:00
Paul A. Bristow
10129df762 Correction
[SVN r66764]
2010-11-26 10:22:21 +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
323a108149 Merges changes from Sandbox version:
MPFR Support.
New distributions: laplace, logistic and hypergeometric.
Added PCH support to the Jamfiles for faster build times.
Added C# usage example.
Updated and regenerated docs.
Also fixes #2799 and updates the tests to catch this failure in future.

[SVN r51455]
2009-02-26 17:34:52 +00:00
John Maddock
c6462254b6 Fix bug in expected error rates.
[SVN r49817]
2008-11-17 17:10:46 +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
John Maddock
2b88b46284 Disabled use of long double when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
Disabled special-double precision error rates when BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.


[SVN r40882]
2007-11-07 11:59:39 +00:00
John Maddock
722a2d848d Merged changes in Trunk.
[SVN r40161]
2007-10-18 18:05:13 +00:00
John Maddock
4ba0027365 Fixed lots of "inspect" issues: bad hyperlinks, tabs in source and missing licenses.
Tweaked some error levels again.

[SVN r40079]
2007-10-16 09:32:28 +00:00