2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-30 20:12:09 +00:00

2156 Commits

Author SHA1 Message Date
jzmaddock
ddd51d0e1c Update error rates for Apple M1 machines.
Fixes https://github.com/boostorg/math/issues/724
2021-12-12 16:56:38 +00:00
Matt Borland
181831c0ab Constexpr hypot (#721) 2021-11-27 16:33:11 -07:00
jzmaddock
40605d0b78 Correct MSVC-14.2 CI failure. 2021-11-06 17:03:48 +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
08ff95dd14 Convert file to ASCII. 2021-11-01 19:24:31 +00:00
jzmaddock
d8078c71a3 Fix copyright declaration. 2021-11-01 18:32:07 +00:00
Nick
923ed19a07 Cubic roots (#703) 2021-10-26 20:54:29 -07: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
3c8cfa46d1 Correct inspection report issue (missing newline). 2021-10-23 19:44:47 +01:00
jzmaddock
6f496bf93b Correct test for cpp_dec_float division. 2021-10-23 17:20:15 +01: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
jzmaddock
bbe18dfb49 Merge pull request #685 from mscastanho/fix-nanq
Fix cstdfloat_math_incl_test on ppc64le with ieee128
2021-09-21 19:01:22 +01: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
c77b5a8727 Remove testing using __builtin_constant_p 2021-09-07 20:32:25 +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
ed9a0bae1f Fix include path in tests. 2021-09-03 10:56:44 +01:00
jzmaddock
e7f4a4c033 Add missing files. 2021-09-02 18:34:38 +01:00
jzmaddock
e7a66ca725 Move tests around so as not to interfere with CMake script. 2021-09-02 10:51:49 +01:00
Matheus Castanho
018eef791e Fix cstdfloat_math_incl_test on ppc64le with ieee128
When switching the default long double format on ppc64le to ieee128, this test
does not compile as nanq is not available. In such cases nanl should be used
instead.

Also, calling nanl with argument 0 raises warnings as it expects a char*. Change
the argument to an empty string, which keeps the purpose of the test and avoids
new warnings.
2021-09-01 17:44:05 -03: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
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
Christopher Kormanyos
36fce1488d Merge branch 'develop' into i506_cstdfloat_complex_std 2021-08-28 16:05:56 +02:00
Matt Borland
d8fe127b82 constexpr fpclassify (#679)
* Implement fpclassify and tests
2021-08-25 13:43:43 -07:00
Matt Borland
a4d5ae7177 Constexpr isfinite and isnormal (#674) 2021-08-23 21:47:41 -07:00
Matt Borland
720536a08e Fix for issue 675 (#676) 2021-08-23 07:48:28 -07:00
Matt Borland
564967785f Constexpr abs/fabs (#672)
* Initial commit

* Move error handling to impl

* Validate tests for float

* Test other types

* Add tests for types that are convertible to int

* Add include test

* Update docs

* Add fabs overloads

* Add fabs to docs

* Add missing header to tests

* Fix for old versions of clang and cleanup naming conventions

* Update jamfile

* Add glibcxx constexpr cmath tests and fix docs

* Use equality in testing instead of tolerance
2021-08-16 22:08:12 -07:00
Matt Borland
70d494d76a Disable some float128 tests and add C++17isms 2021-07-31 15:48:34 +03:00
Matt Borland
6b46545882 Fixes and add testing of float128 support 2021-07-25 21:19:08 +03:00
Matt Borland
5add492b5a Add testing of float128 and integer types to isinf 2021-07-25 18:19:11 +03:00
Matt Borland
18b65f75c9 Add testing of float128 and integer types to isnan 2021-07-25 18:19:11 +03:00
Matt Borland
99e6fcf2fb Only test on platforms that provide BOOST_MATH_IS_CONSTANT_EVALUATED 2021-07-24 15:46:57 +03:00
Matt Borland
084bc7184b Merge remote-tracking branch 'origin/develop' into constexpr_sqrt 2021-07-24 14:29:58 +03:00
Matt Borland
b89cdf81d2 Make isnan and isinf tests static_asserts [ci skip] 2021-07-24 14:29:42 +03:00
Matt Borland
c9983116e8 Replace some sqrt tests with static_asserts [ci skip] 2021-07-24 14:20:13 +03:00