Repository navigation
Keep ibeta monotonic under -ffp-contract=fast and fix develop's CI - #1561
Merged
Merged
Conversation
NAThompson
force-pushed
the
ibeta-contract-fast
branch
6 times, most recently
from
October 11, 2026 22:18
077f0e1 to
65895e5
Compare
NAThompson
added a commit
to NAThompson/math
that referenced
this pull request
Oct 11, 2026
NAThompson
force-pushed
the
ibeta-contract-fast
branch
from
October 11, 2026 22:39
65895e5 to
00cab03
Compare
No-Lanczos ibeta/igamma use log1pmx of an exact x c - a near the mean, not pow; libeta shares ibeta's bases; Hermite prime and polygamma avoid cancellation and exp(log). Gauss-Hermite weights sum to sqrt(pi); discrete_legendre fuses one way; fixed autodiff seed; nc_t, ulps_plot, quad and MinGW test fixes; stray binaries; CI cancels stale runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
NAThompson
force-pushed
the
ibeta-contract-fast
branch
from
October 11, 2026 22:44
00cab03 to
29e0421
Compare
NAThompson
added a commit
to NAThompson/math
that referenced
this pull request
Oct 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No-Lanczos ibeta/igamma use log1pmx of an exact x c - a near the mean, not pow; libeta shares ibeta's bases; Hermite prime and polygamma avoid cancellation and exp(log).
Gauss-Hermite weights sum to sqrt(pi); discrete_legendre fuses one way; fixed autodiff seed; nc_t, ulps_plot, quad and MinGW test fixes; stray binaries; CI cancels stale runs.
Fixed on develop's CI:
CI: the concurrency group is now the workflow plus the branch (
github.head_ref || github.ref), and codecov gets the same group, so a new push to develop or a PR cancels that branch's older runs; it usedgithub.run_idon pushes, so no develop run was ever cancelled.Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
polygamma (double, no promotion, against Arb; orange develop, blue this PR)
ibeta / libeta / igamma, real_concept (develop red, this PR blue)
ibeta(1e16, 9.97e15, x) near the mean: worst 1.9e16 ulps (3.4e8 x envelope) -> 4.4e7 ulps (0.77 x envelope).
a in [1e12, 1e17], b = 0.99658a, -3..3 sd: worst 6.0e14 -> 3.9e8 ulps (the remainder is pre-existing, ~1 ulp of x at this density).
libeta underflow tail: 2.3e6 ulps (6.2 x envelope) -> 385 ulps (6.5e-4 x).
gamma_p / gamma_q, a in [1e5, 1e9], z = a + 1.5 sqrt(a): 6.2e7 -> 557 and 4.9e8 -> 4458 ulps.
Hermite derivatives on the test's random grid
septic prime: 490 -> 5 ulps; quintic prime: 46 -> 4 ulps.
Gauss-Hermite weight relative error vs 50 digits
N=200: max 72 -> 67 eps, mean -7.6 -> -2.7; N=500: max 111 -> 105, mean -9.1 -> -3.2.
🤖 Generated with Claude Code