2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-26 06:42:12 +00:00
Commit Graph

2854 Commits

Author SHA1 Message Date
jzmaddock
cfc19730ea Improve comments around static_assert's
[CI SKIP]
2022-01-18 19:23:41 +00:00
jzmaddock
7850b8c2dd Correct some CI test failures.
Stop referencing boost::lexical_cast even in templates which aren't instantiated.
Fix missing macro definition in tr1.hpp.
Correct include order in some tests so we get consistent definitions for BOOST_HAS_FLOAT128.
2022-01-17 19:37:08 +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
jzmaddock
81cfd85df5 Begin to systematically remove direct use of lexical_cast in favour of existing abstractions. 2022-01-16 17:36:50 +00:00
Nick
46f6ef03a2 Remove use of old-style casts from exp-sinh quadrature. (#741) 2022-01-15 08:15:55 -08:00
Matt Borland
e1601f129a Complete CI test with standalone mode (#680) 2022-01-14 08:12:22 -08:00
jzmaddock
3019900cb7 Merge pull request #738 from mborland/issue737
Fix for issue #737
2022-01-11 19:21:17 +00:00
Matt Borland
18a0874056 Constexpr comparison functions (#736) 2022-01-09 09:28:13 -08:00
Matt Borland
019de0d35a Fix for issue #737 2022-01-09 14:00:19 +02:00
Matt Borland
9e369be7a4 Constexpr fmin and fmax (#732) 2022-01-06 11:02:41 -08:00
Matt Borland
3ce09d5739 Constexpr fdim (#730) 2022-01-05 07:01:22 -08:00
Matt Borland
e8edbb9ac3 Fix and tests for issue #705 (#731) 2022-01-05 07:00:41 -08:00
Nick
60d54e565f Quartic roots. (#718) 2022-01-02 17:58:09 -08:00
Matt Borland
181831c0ab Constexpr hypot (#721) 2021-11-27 16:33:11 -07:00
jzmaddock
f5cdfc57a2 Revert changes in include/boost/math/quadrature/detail/tanh_sinh_detail.hpp 2021-11-05 18:23:09 +00:00
jzmaddock
e000cf5dd1 Update history and regenerate docs. 2021-11-05 17:53:09 +00:00
jzmaddock
7108ccc1a3 Merge pull request #716 from boostorg/cubic_roots_tlc
Remove unicode from comments and loosen up error tolerance.
2021-11-03 19:55:05 +00:00
jzmaddock
535fcc237a Merge pull request #714 from boostorg/tanh_sinh_performance
Improve tanh_sinh.
2021-11-03 19:54:44 +00:00
Nick Thompson
15c680c93a Remove unicode from comments and loosen up error tolerance. 2021-11-02 22:31:03 -07:00
jzmaddock
afaa03a090 Merge pull request #713 from boostorg/issue710
Update limits used in erf/erfc approximations.
2021-11-02 19:04:41 +00:00
jzmaddock
075ff0dc6c Better estimate error due to truncation at endpoints. 2021-10-28 12:05:12 +01:00
Nick
923ed19a07 Cubic roots (#703) 2021-10-26 20:54:29 -07:00
jzmaddock
035188f974 tanh_sinh: detect and allow non-finite values at end points. 2021-10-26 16:29:15 +01:00
jzmaddock
11134978df tanh_sinh: improve thrash detection.
Significantly reduces the number of iterations in many cases.
2021-10-25 18:29:14 +01:00
jzmaddock
18cb92bcde Update limits used in erf/erfc approximations.
Fixes https://github.com/boostorg/math/issues/710.
2021-10-24 19:10:36 +01:00
jzmaddock
67f451f0b3 Merge pull request #687 from boostorg/s390x
Fix low hanging fruit test failures on s390x.
2021-10-24 13:03:22 +01:00
jzmaddock
67b85a4a87 TanhSinh: Correct m_inital_row_length in double precision case.
Remove dead header.
2021-10-23 12:23:30 +01:00
Nick
b0d1e4f760 Disallow integral return types in quadrature. (#704) 2021-10-11 08:18:15 -07:00
Matt Borland
7339acd01a constexpr copysign (#701)
* constexpr copysign

* Fix for mingw test failure
2021-10-10 10:38:26 -07:00
Matt Borland
8e8f6ec4be constexpr remainder (#700) 2021-10-06 10:42:02 -07:00
Matt Borland
6d5aeb08ea constexpr fmod (#699)
* constexpr fmod

* Fix for old clang versions
2021-10-02 08:07:14 -07:00
Matt Borland
392a1c016d constexpr round (#697) 2021-09-27 09:01:47 -07:00
Matt Borland
3e89a0dabd constexpr modf (#696) 2021-09-24 11:09:25 -07:00
Matt Borland
5d6236fb08 Implement, test, and document trunc (#695) 2021-09-21 09:20:43 -07:00
Matt Borland
991fcff33d constexpr floor and ceil (#694) 2021-09-20 09:51:59 -07:00
Matt Borland
4ad861217d constexpr scalbn and scalbln (#693) 2021-09-18 10:12:47 -07:00
Matt Borland
c0383edcea Constexpr logb and ilogb 2021-09-17 21:05:07 +03:00
Matt Borland
3b75b350a4 constexpr div (#691) 2021-09-15 11:51:06 -07:00
jzmaddock
e592fae531 Merge pull request #690 from mborland/constexpr_abs_overloads
Add abs specializations to ccmath
2021-09-12 16:40:52 +01:00
Matt Borland
5f48b50848 Add abs specializations to ccmath 2021-09-11 21:44:18 +03:00
Matt Borland
5190e5934e Simplify implementation 2021-09-11 20:59:17 +03:00
Matt Borland
a8cdcd85b1 Remove unneeded includes 2021-09-06 21:40:04 +03:00
Matt Borland
000aaae2d1 Add testing 2021-09-06 21:39:51 +03:00
Matt Borland
0a69c93a31 Initial commit 2021-09-06 21:39:35 +03:00
Matt Borland
0bbea8d8f9 constexpr frexp (#686) 2021-09-06 11:27:27 -07:00
jzmaddock
13cb3bdacd Fix low hanging fruit test failures on s390x.
This adds some extra instrumentation to bessel_j0.hpp, everything else are fixes for the test programs.
The advantage of testing on this platform is that it has a true 128-bit long double which is a good test of our assumptions in code.
2021-09-04 10:46:26 +01:00
jzmaddock
7d482f6ebc Make no atomics a soft failure in bernoulli_details.hpp.
Include an "escape macro" so thread safety can be disabled if certain bernoulli features are to be used in a no-atomics environment.
Fixes https://github.com/boostorg/math/issues/673.
2021-09-01 20:31:53 +01:00
jzmaddock
32bd619735 Allow definition of BOOST_MATH_NO_ATOMIC_INT on the command line.
Allows us to test/emulate platforms with no atomic integers.
2021-09-01 18:54:54 +01:00
Christopher Kormanyos
be0c78bb4c Add a few more cstdfloat 128-bit tests 2021-08-30 19:04:44 +02:00
Christopher Kormanyos
670b5c4ee9 More edge ranges and optimize expq patch 2021-08-30 13:47:57 +02:00