Skip to content

feat: add C implementation for stats/base/dists/chisquare/quantile - #14658

Open
Planeshifter wants to merge 1 commit into
philipp/gamma-quantile-cfrom
philipp/chisquare-quantile-c
Open

feat: add C implementation for stats/base/dists/chisquare/quantile#14658
Planeshifter wants to merge 1 commit into
philipp/gamma-quantile-cfrom
philipp/chisquare-quantile-c

Conversation

@Planeshifter

@Planeshifter Planeshifter commented Aug 26, 2026

Copy link
Copy Markdown
Member

Description

What is the purpose of this pull request?

This pull request:

  • adds a C native addon implementation for stats/base/dists/chisquare/quantile

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

Thin wrapper that delegates to stdlib_base_dists_gamma_quantile(p, k/2.0, 0.5).

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

This PR was authored by Claude Code under my direction.


@stdlib-js/reviewers

@Planeshifter
Planeshifter force-pushed the philipp/chisquare-quantile-c branch from f16dc46 to 7538e93 Compare August 26, 2026 16:55
@stdlib-bot stdlib-bot added the Statistics Issue or pull request related to statistical functionality. label Aug 26, 2026
@Planeshifter
Planeshifter force-pushed the philipp/chisquare-quantile-c branch from 7538e93 to fdce5eb Compare August 26, 2026 17:18
@Planeshifter
Planeshifter marked this pull request as ready for review August 26, 2026 17:20
@Planeshifter
Planeshifter requested a review from a team August 26, 2026 17:20
@Planeshifter
Planeshifter force-pushed the philipp/chisquare-quantile-c branch from fdce5eb to fd8a329 Compare August 26, 2026 17:29
@Planeshifter
Planeshifter changed the base branch from develop to philipp/gamma-quantile-c August 26, 2026 17:29
@Planeshifter
Planeshifter force-pushed the philipp/chisquare-quantile-c branch from fd8a329 to b9dbfc7 Compare August 26, 2026 17:35
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Planeshifter
Planeshifter force-pushed the philipp/chisquare-quantile-c branch from b9dbfc7 to 3a34ee2 Compare August 26, 2026 17:36
@stdlib-bot

stdlib-bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
stats/base/dists/chisquare/quantile $\\color{green}239/239$
$\\color{green}+100.00\\%$
$\\color{green}7/7$
$\\color{green}+100.00\\%$
$\\color{green}3/3$
$\\color{green}+100.00\\%$
$\\color{green}239/239$
$\\color{green}+100.00\\%$
stats/base/dists/gamma/quantile $\\color{green}304/304$
$\\color{green}+100.00\\%$
$\\color{green}28/28$
$\\color{green}+100.00\\%$
$\\color{green}4/4$
$\\color{green}+100.00\\%$
$\\color{green}304/304$
$\\color{green}+100.00\\%$

The above coverage report was generated for the changes in this PR.

@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review A pull request which needs code review. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants