feat: add C implementation for stats/base/dists/betaprime/logcdf - #14676
Open
Planeshifter wants to merge 1 commit into
Open
feat: add C implementation for stats/base/dists/betaprime/logcdf#14676Planeshifter wants to merge 1 commit into
stats/base/dists/betaprime/logcdf#14676Planeshifter wants to merge 1 commit into
Conversation
stats/base/dists/betaprime/logcdf
---
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes.
report:
- task: lint_filenames
status: passed
- task: lint_editorconfig
status: passed
- task: lint_kebab_filenames
status: passed
---
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Planeshifter
force-pushed
the
philipp/betaprime-logcdf-c
branch
from
August 27, 2026 03:30
ce93891 to
2715126
Compare
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
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.
Resolves #3439.
Description
This pull request:
@stdlib/stats/base/dists/betaprime/logcdf, including C headers, GYP/Makefile build configurations, JavaScript/C benchmarks and examples, native unit tests, and README documentation updates. The implementation applies the transformationx/(1+x)before delegating to@stdlib/stats/base/dists/beta/logcdf, mirroring the JavaScript implementation.Related Issues
This pull request has the following related issues:
Questions
No.
Other
stats/base/dists/betaprime/cdf#14675 (betaprime/cdfC implementation) and depends on feat: add C implementation forstats/base/dists/beta/logcdf#13649, which adds the C implementation for@stdlib/stats/base/dists/beta/logcdfthat this package calls. The native addon will not build until feat: add C implementation forstats/base/dists/beta/logcdf#13649 lands ondevelop.isAlmostSameValuewith measured ULP bounds (max observed: 16/394/24; bounds set to 32/768/64 for cross-compiler headroom).Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written primarily by Claude Code, using the
stats/base/dists/betaprime/cdfandbetaprime/pdfC implementations as templates; the changes were reviewed and validated locally (native addon built against the #13649 branch, all native tests passing) before submission.@stdlib-js/reviewers