2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-31 20:32:07 +00:00
Commit Graph

6248 Commits

Author SHA1 Message Date
Matt Borland
28ff5ed847 Add explicit casting for int to floating point types 2022-07-05 19:58:58 -07:00
Matt Borland
69e6643cbd Fix unreachable code 2022-07-05 19:58:51 -07:00
Matt Borland
d2a42e9501 Change implicit type conversion to explicit 2022-07-05 19:58:41 -07:00
Matt Borland
ae70e1f22d Merge pull request #794 from mborland/unsafe_bool
Fix unsafe bool usage
2022-07-03 15:44:19 -07:00
jzmaddock
bc575968f4 Merge pull request #795 from mborland/warn
Cleanup Warnings
2022-07-03 18:56:06 +01:00
Matt Borland
0569685944 Remove unused paratemers in test_nc_t 2022-07-02 19:47:26 -07:00
Matt Borland
d11c836abd Fix deprecated implicit copy constructor for octonion 2022-07-02 19:40:12 -07:00
Matt Borland
3373357752 Remove unused parameter from catmull_rom 2022-07-02 19:39:45 -07:00
Matt Borland
d2c3694ebc Suppress quaternion constexpr test unused variable 2022-07-02 19:28:05 -07:00
Matt Borland
0b57cd2cd7 Suppress TR1 unused variable warnings 2022-07-02 19:23:55 -07:00
Matt Borland
c94cf596eb Suppress unused variable warning 2022-07-02 19:16:25 -07:00
Matt Borland
01d77f55e7 Fix uninitialized const reference warning 2022-07-02 19:10:05 -07:00
Matt Borland
f000fd5c5c Move conditionally used local typedef in test_2F0 2022-07-02 18:54:18 -07:00
Matt Borland
a40c99c39c Remove unused parameters in test 2022-07-02 18:51:12 -07:00
Matt Borland
0ed3134719 Fix deprecated implicit copy constructor in airy ai bi zero 2022-07-02 18:48:15 -07:00
Matt Borland
06ce1cd511 Fix deprecated implicit copy constructor in bessel jy zero 2022-07-02 18:30:01 -07:00
Matt Borland
99adf50919 Fix C++14 extension warning in traits 2022-07-02 18:24:49 -07:00
Matt Borland
699002becb Fix deprecated implicit copy constructor in hyper geom 1F1 recurrence 2022-07-02 18:18:48 -07:00
Matt Borland
1cbf7e2c3d constexpr signbit (#793)
Implements constexpr signbit with annotated caveats during compile time.
2022-07-02 11:47:03 -07:00
Matt Borland
bbd37e2216 Fix unsafe bool warning in remainder and refactor 2022-07-01 17:09:59 -07:00
Matt Borland
e2e627fa10 Fix unsafe bool warning in fmod and refactor 2022-07-01 16:56:45 -07:00
Matt Borland
ae0fe3d751 Constexpr next (#789)
Implements constexpr: nextafter, nextafterf, nextafterl, nexttoward, nexttowardf, and nexttowardl as described in P0533R9
2022-06-29 08:44:54 -07:00
jzmaddock
4ffe9bb26c Update history and regenerate docs.
[CI SKIP]
2022-06-25 19:38:28 +01:00
jzmaddock
7df6a2895d Merge pull request #792 from jwakely/patch-1
Replace non-UTF-8 copyright character
2022-06-14 17:58:06 +01:00
Jonathan Wakely
b3cec0c732 Replace non-UTF-8 copyright character 2022-06-14 17:55:04 +01:00
jzmaddock
281dda0e88 Merge pull request #791 from boostorg/consolidate_tests
Try and consolidate more Github tests.
2022-06-07 08:40:36 +01:00
jzmaddock
48f20e9f82 Split windows-gcc jobs into smaller chunks again.
These are much much slower than anything else.
2022-06-06 18:44:24 +01:00
jzmaddock
d4c71ea9db Fix up multiprc_concept_check_2.cpp for standalone tests. 2022-06-06 12:04:40 +01:00
jzmaddock
ce370f8627 Fix up test_polynomial.cpp for standalone test. 2022-06-06 09:07:36 +01:00
jzmaddock
c5c01b675c Try and consolidate more Github tests.
In the hopes of speeding up CI build times.
2022-06-05 19:43:43 +01:00
jzmaddock
54032b33e0 Merge pull request #790 from boostorg/ci_adjust_2022
Move all GCC-5/6 testing to drone.
2022-06-04 09:19:53 +01:00
jzmaddock
6f71893098 Correct clang-6 invocation name in drone. 2022-06-03 18:03:17 +01:00
jzmaddock
c02046fab5 Attempt to correct drone config. 2022-06-03 09:20:27 +01:00
jzmaddock
9225339131 Remove duplicate pipeline name in drone config. 2022-06-02 18:49:59 +01:00
jzmaddock
71e9d5c3cd Move Ubuntu-focal tests to drone. 2022-06-02 18:36:45 +01:00
jzmaddock
3517400cd9 Correct drone script. 2022-06-02 18:30:14 +01:00
jzmaddock
8ceee1ece0 Merge branch 'develop' into ci_adjust_2022
Resolved Conflicts:
	.drone.star
	.github/workflows/ci.yml

Moved more CI from Github to drone.
2022-06-02 17:21:57 +01:00
Matt Borland
5fa7797ec6 Bump minimum language standard to C++14 (#788)
* Bump minimum language standard to C++14

* Add warning message in config

* Update readme and keep C++14 in GCC5 drone run
2022-05-31 20:19:22 -07:00
jzmaddock
8b7e154044 Move all GCC-5/6 testing to drone.
Remove C++11 testing for gcc where the compiler default is C++14.
Remove C++11 testing from msvc - it doesn't support it, only C++14.
All C++11 testing is now on gcc-5 and 6 and on drone.
2022-05-31 18:16:57 +01:00
jzmaddock
65aaf02760 Merge pull request #786 from boostorg/no_exceptions_or_rtti_error_handling
Set BOOST_NO_EXCEPTIONS and BOOST_NO_RTTI for GCC and math in standal…
2022-05-31 08:43:26 +01:00
Matt Borland
3107abaa8a Constexpr fma (#734)
* constexpr fma

* Improve use of intrinsics for calculation

* Changes to intrinsics and address sonarlint comments
2022-05-30 13:35:54 -07:00
jzmaddock
14d6cfdea2 Tweak CI runs:
Increase tolerance in chatterjee_correlation test.
Remove a few tests from Github CI.
Remove autodiff from the sanitizer tests as they time out.
2022-05-30 18:37:05 +01:00
John Maddock
b50452bf81 Merge branch 'develop' into no_exceptions_or_rtti_error_handling 2022-05-30 18:27:31 +01:00
jzmaddock
25e51f773a Fix condition_numbers.hpp for no-eh usage.
Enclose try...catch keywords in BOOST_NO_EXCEPTIONS check.
2022-05-27 18:46:47 +01:00
jzmaddock
8f808da3a7 Disable test_2F0 MP tests for all gcc-12.
They run the machine out of memory.
2022-05-27 15:25:44 +01:00
jzmaddock
17813330e5 Revert "Strip CI back to minimal failing test cases."
This reverts commit 3fa245da6d.
2022-05-26 16:43:26 +01:00
jzmaddock
378b6a2273 Disable gcc-12 C++20 testing as it runs the machine out of memory compiling test_2F0.cpp. 2022-05-26 13:02:35 +01:00
jzmaddock
355237efeb Add missing #include to chebeshev.hpp. 2022-05-26 12:59:56 +01:00
jzmaddock
3fa245da6d Strip CI back to minimal failing test cases.
In the hopes we might actually see some results on Github.
2022-05-26 12:11:27 +01:00
Matt Borland
e5eae18f14 Chatterjee Correlation Coefficient (#770)
* Implement rank vector

[ci skip]

* Add documentation. Admittedly terrible.

* Add unit tests.

* Cleanup method of detecting if execution policies are valid or not

[ci skip]

* Implement and test chatterjee correlation

[ci skip]

* Add spot checks and special handling for constant Y

[ci skip]

* Add performance file

[ci skip]

* Add execution policy support to rank

[ci skip]

* Remove duplicates from v when generating the order vector

[ci skip]

* Fix macro error for use of <execution>

[ci skip]

* Use explicit types instead of auto to avoid warnings 

[ci skip]

* Add execution policy testing to rank

[ci skip]

* Add threaded implementation

[ci skip]

* Added threaded testing

* Fix formatting and ASCII issues in test

* Fix more ASCII issues

* refactoring

* Fix threaded impl

* Remove non-ASCII apostrophe

[ci skip]

* Doc fixes and add test comparing generally to paper values

* Significantly tighten tolerance around expected values from paper

* Change tolerance for sin comparison

Co-authored-by: Nick Thompson <nathompson7@protonmail.com>
2022-05-25 08:13:24 -07:00