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

7849 Commits

Author SHA1 Message Date
Matt Borland
591dcb3d15 Add SYCL issue from multiprecision github 2025-06-10 14:49:16 -04:00
Matt Borland
328d06d2cc Use global namespace in the NVRTC case 2025-06-10 14:41:47 -04:00
Matt Borland
10e5b6a5fe Reverse order of decorators 2025-06-10 14:41:47 -04:00
Matt Borland
c4609accc2 Add note on ibeta and ibeta_inv tests 2025-06-10 14:41:46 -04:00
Matt Borland
4f793f452e Remove SYCL workaround 2025-06-10 14:41:46 -04:00
Matt Borland
cd92c648fd Fix NVRTC usage of lgamma 2025-06-10 14:41:46 -04:00
Matt Borland
f650dc19bd More missing promotion headers 2025-06-10 14:41:46 -04:00
Matt Borland
21a89ff0f7 Replace std::numeric_limits with boost::math::numeric_limits 2025-06-10 14:41:46 -04:00
Matt Borland
f1810a3dd9 Add missing headers 2025-06-10 14:41:46 -04:00
Matt Borland
56e1197d35 Fix NVRTC deprecation warning 2025-06-10 14:41:46 -04:00
Matt Borland
3b3f18e644 Use boost.math cstdint type 2025-06-10 14:41:46 -04:00
Matt Borland
f79479b40e Avoid tails on SYCL platform 2025-06-10 14:41:46 -04:00
Matt Borland
d95a79ba34 Include sycl header for additional error detection 2025-06-10 14:41:46 -04:00
Matt Borland
f0da5f48f1 Disable promotion in the SYCL case 2025-06-10 14:41:45 -04:00
Matt Borland
6c8f87f408 Try even newer version of GCC on windows 2025-06-10 14:31:40 -04:00
Matt Borland
0705007511 Add removed ubuntu runs to drone 2025-06-10 13:37:11 -04:00
Matt Borland
a143ae45d4 Remove ubuntu-22.04 runs 2025-06-10 13:33:38 -04:00
Matt Borland
aaf502599e Remove windows-2019 which sadly has no replacement 2025-06-10 13:32:12 -04:00
jzmaddock
2b05d87c0f Merge pull request #1268 from boostorg/integrate_1251
Integrate PR 1251
2025-05-23 18:27:54 +01:00
jzmaddock
5b15651edf Disable new test when run under the clang sanitizers.
-fsanitize=integer trips up multiprecision code which has deliberate (and well defined) unsigned integer overflow via left shift.
2025-05-23 16:36:10 +01:00
John Maddock
036cf85c12 Merge branch 'mydevelop' of https://github.com/cohomology/math into integrate_1251 2025-05-23 16:27:12 +01:00
jzmaddock
aecd335492 Merge pull request #1262 from boostorg/improve_coverage_4
Improve Coverage Part 4
2025-05-20 12:14:02 +01:00
jzmaddock
ef849f342c Coverage: correct min/max usage for CUDA. 2025-05-15 19:12:23 +01:00
jzmaddock
60ef55dfb5 Coverage: Fix GPU support. 2025-05-15 18:37:01 +01:00
Tomato-in
af8ba3f7b2 Adjust parameter order in Differential Evolution algorithm
Problem Description
The optimization module implements four algorithms: Differential
Evolution, Algorithm jSO, Random Search, and Evolution Strategy with
Covariance Matrix Adaptation. All these algorithms accept seven
parameters: `cost_function`, `params`, `gen`, `value_to_reach`,
`cancellation`, `current_minimum_cost`, and `queries`. Unfortunately,
the Differential Evolution algorithm doesn't maintain parameter
consistency with the other three algorithms: the last two parameters
(`current_minimum_cost` and `queries`) are in reverse order compared to
the other algorithms. This appears to be an unintentional oversight.

Solution
- Adjust the parameter order in the Differential Evolution algorithm to ensure consistency with other optimization algorithms
- Update the algorithm documentation accordingly
(No changes to example code were needed as the examples don't use these two parameters)
2025-05-15 07:19:58 -07:00
Tomato-in
6bd0191186 Fix: Corrected the external archive error in the jSO algorithm
Problem Description: In the jSO algorithm, the external archive was storing successful trials, but according to the original paper, it should store eliminated individuals. The external archive is meant to maintain diversity, and storing successful trials fails to achieve this effect.

Solution: Modified the jSO algorithm's external archive update to store eliminated individuals.
2025-05-14 17:51:39 -07:00
jzmaddock
c851fe9478 Coverage: change uncovered lines in owens_t to asserts.
Fix some gcc warnings at the same time.
2025-05-14 12:18:30 +01:00
jzmaddock
3b49983bbd Coverage: mark up spurious missed line. 2025-05-14 11:29:03 +01:00
jzmaddock
b20cbfacd4 Allow test_log1p_simple.cpp to be run with no exceptions. 2025-05-14 11:26:11 +01:00
jzmaddock
d1101432c4 Coverage: zeta and ulp tweaks for full coverage. 2025-05-12 16:28:27 +01:00
jzmaddock
d760c314d5 Coverage: improve zeta.hpp coverage and tests. 2025-05-12 12:05:01 +01:00
jzmaddock
c159459504 Coverage: Add trivial tests for ulp.hpp. 2025-05-11 10:39:13 +01:00
jzmaddock
384cd81a2b Coverage: improve trigamma. 2025-05-10 18:36:42 +01:00
jzmaddock
034d097010 Coverage: improve sinhc_pi tests. 2025-05-10 14:49:13 +01:00
jzmaddock
a8948c31dc Coverage: cosmetic change to prime.hpp for coverage detection. 2025-05-10 14:25:24 +01:00
jzmaddock
4fdbd9a615 Coverage: weaken exception specification in test_nonfinite_io.cpp.
For Cygwin failures.
2025-05-10 14:21:23 +01:00
jzmaddock
ea0cd6af09 Coverage: try and fix up sinc_pi test. 2025-05-09 10:00:28 +01:00
jzmaddock
9a1c19d127 Coverage: spherical_harmonic tests. 2025-05-08 18:58:21 +01:00
jzmaddock
022dbe979b Coverage: Improve sinc_pi complex tests. 2025-05-08 18:39:51 +01:00
jzmaddock
ef4cdb9b91 Coverage: Add coverage for prime.hpp. 2025-05-08 16:42:08 +01:00
jzmaddock
a7f298c223 Coverage: powm1 tests. 2025-05-08 16:23:58 +01:00
jzmaddock
d5341809a4 Coverage: Mark up default & break statements which don't seem to cover even though they are invoked. 2025-05-08 11:37:53 +01:00
jzmaddock
b485b22912 Coverage: Fix test_next.cpp. 2025-05-08 11:34:52 +01:00
jzmaddock
404fccdd16 Coverage: Fix up nonfinite_num_facets.hpp
Add more tests, and enable one test that was not even being built.
2025-05-07 16:36:19 +01:00
jzmaddock
295c5a37f5 Coverage: last few lines of next.hpp. 2025-05-07 12:12:59 +01:00
jzmaddock
01e1a62e0b Coverage: Fix Jamfile. 2025-05-07 08:50:25 +01:00
jzmaddock
1ec15ddad5 Coverage: Improve next.hpp. 2025-05-06 17:16:32 +01:00
jzmaddock
aa1f9979d0 Coverage: logaddexp test case. 2025-05-05 13:12:50 +01:00
jzmaddock
c0a97eda31 Coverage: legendre.hpp trivial markup. 2025-05-05 13:05:30 +01:00
jzmaddock
7556310aae Coverage: Cosmetic changes to log1p plus more tests.
Also hook test_log1p_simple.cpp up to Jamfile.v2 as it had been omitted for some reason.
2025-05-04 16:12:13 +01:00