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

7661 Commits

Author SHA1 Message Date
Matt Borland
2852b4b619 Enforce some manual promotion and ensure we are passing policy 2025-08-14 17:53:01 +02:00
Matt Borland
47b4152f5b Manually promote p for a few functions 2025-08-14 17:40:42 +02:00
Matt Borland
9b50dbc27c Use manual promotion for member calculations 2025-08-14 17:11:41 +02:00
Matt Borland
ae8b03700c Add helper for evaluation type 2025-08-14 16:57:07 +02:00
Matt Borland
483f36c067 Merge pull request #1297 from boostorg/1296
Add `logit`, `logistic_sigmoid`, and use in `logistic` dist to support promotion policies
2025-08-14 14:09:01 +02:00
Matt Borland
f87d826adf Remove incorrect assertion 2025-08-14 12:39:56 +02:00
Matt Borland
2519259c91 Merge pull request #1298 from andrjohns/log-pi-constant
Add new constant `log_pi`
2025-08-14 11:15:40 +02:00
Matt Borland
067c6e7a5e Add documentation 2025-08-14 11:14:35 +02:00
Matt Borland
d87ce894eb Check validity of initial policy 2025-08-14 10:43:20 +02:00
Matt Borland
dc23aa3363 Disable further promotion with forwarding policy 2025-08-14 10:39:13 +02:00
Matt Borland
c49115c1fc Add make_forwarding_policy and make_forwarding_policy_t 2025-08-14 10:39:00 +02:00
Matt Borland
b042910dba Make power a promoted real type 2025-08-14 09:57:43 +02:00
Matt Borland
0353afe0d7 Add log_pi to pi related constants doc section 2025-08-14 09:53:05 +02:00
Andrew Johnson
4b201ab83b Missed tests 2025-08-13 21:20:00 +08:00
Andrew Johnson
940fdd8901 Add log_pi constant and tests 2025-08-13 21:16:48 +08:00
Matt Borland
24e59fdabb Remove double negatives and now excess using statements 2025-08-13 10:47:49 +02:00
Matt Borland
79ab23ffa4 Move sign position 2025-08-12 17:49:48 +02:00
Matt Borland
6893b74272 Add and fix additional test case 2025-08-12 17:05:38 +02:00
Matt Borland
4c086e6cba Fix return types for concept tests 2025-08-12 16:56:43 +02:00
Matt Borland
a453cb36c3 Ignore lines that should not be hit 2025-08-12 16:41:13 +02:00
Matt Borland
488cd2fd11 Action review comments replacing fenv manipulation 2025-08-12 15:03:43 +02:00
Matt Borland
6068d7a95a Only adjust the FPU flags when we have access 2025-08-12 14:10:32 +02:00
Matt Borland
a3d22ea8e2 Adjust tolerances 2025-08-12 14:08:53 +02:00
Matt Borland
f3a823d544 Add reproducer for github issue 1294 2025-08-12 13:35:01 +02:00
Matt Borland
b33d31ae9d Use new functions with logisitic distribution 2025-08-12 12:55:18 +02:00
Matt Borland
064ca93d06 Explicitly cast to result 2025-08-12 12:49:36 +02:00
Matt Borland
ce144e22fd Add logit test set 2025-08-12 12:49:22 +02:00
Matt Borland
c26f50fa0d Add missing pragma 2025-08-12 11:35:46 +02:00
Matt Borland
2e66849703 Rename 2025-08-12 11:32:22 +02:00
Matt Borland
bb699fa5ca Implement logit function 2025-08-12 11:21:51 +02:00
Matt Borland
3ffbcfea31 Add logistic function testing 2025-08-12 10:55:01 +02:00
Matt Borland
aa445f6bf3 Implement logistic function 2025-08-12 10:54:46 +02:00
Matt Borland
4d7d6e1982 Merge pull request #1295 from WarrenWeckesser/fix-logistic-logcdf-name 2025-08-11 04:29:29 -04:00
Warren Weckesser
505511fc68 Fix the 'function' name for the logistic logcdf function. 2025-08-09 16:06:46 -04:00
Christopher Kormanyos
ad3eace5c2 Merge pull request #1293 from boostorg/issue1292
Fix #1292 vial refine bess-j small-arg logic
2025-08-09 17:07:36 +02:00
ckormanyos
93717bab24 Simplify issue1292 test code 2025-08-09 15:04:29 +02:00
ckormanyos
c95226b38e Handle further review comments 2025-08-07 14:52:07 +02:00
ckormanyos
0703718dd6 Handle review comments and add tests 2025-08-07 14:09:22 +02:00
ckormanyos
018010e695 Rework logic and check some branch cover 2025-08-07 12:37:28 +02:00
ckormanyos
f52df1cb9e Investigate small-arg logic as in issue 2025-08-07 11:03:31 +02:00
Matt Borland
c68d7463d7 Merge pull request #1291 from boostorg/ooura_constexpr 2025-08-01 14:40:35 -04:00
Matt Borland
31b94bfc38 Use if constexpr for type based branching in fourier integrals 2025-08-01 12:40:52 -04:00
Matt Borland
3d86cefe37 Merge pull request #1290 from andrjohns/fourier-long-double
Avoid using long double in fourier integrals when not supported
2025-08-01 12:36:40 -04:00
Andrew Johnson
56293860d1 Avoid using long double in fourier integrals when not supported 2025-08-01 15:45:15 +08:00
Matt Borland
36985826eb Merge pull request #1284 from ak-ambi/develop
Prevent std::ldexp underflowing/overflowing because of hard-coded flo…
2025-07-07 13:29:47 -04:00
Paweł Stankowski
9ef3540f1a Replaced ldexp with frexp to eliminate errno being set on some compliers (e.g. clang) on underflow or overflow 2025-07-04 12:09:44 -07:00
Matt Borland
f0a1c2ea70 Merge pull request #1277 from boostorg/build2
Add C++14 <type_trait> requirement to builds
2025-06-27 11:39:25 -04:00
Christopher Kormanyos
e93791b98a Merge pull request #1280 from boostorg/cstdfloat_missed_pedantic
Add forgotten -Wpedantic shield
2025-06-23 14:55:15 +02:00
ckormanyos
801bf4d311 Add forgotten -Wpedantic shield 2025-06-23 13:30:29 +02:00
Matt Borland
d5f6aa10f9 Require compilers to have support for C++14 type traits 2025-06-16 13:05:07 -04:00