Skip to content

Fix student's T for quantile of very small values. - #1437

Merged
jzmaddock merged 2 commits into
developfrom
issue1436
Aug 26, 2026
Merged

Fix student's T for quantile of very small values.#1437
jzmaddock merged 2 commits into
developfrom
issue1436

Conversation

@jzmaddock

Copy link
Copy Markdown
Collaborator

By preventing underflow in the calculation where possible. Fixes: #1436

By preventing underflow in the calculation where possible.
Fixes: #1436
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.40%. Comparing base (64a8d75) to head (364cd3b).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1437   +/-   ##
========================================
  Coverage    95.39%   95.40%           
========================================
  Files          829      829           
  Lines        69186    69202   +16     
========================================
+ Hits         66003    66022   +19     
+ Misses        3183     3180    -3     
Files with missing lines Coverage Δ
include/boost/math/distributions/students_t.hpp 91.91% <100.00%> (ø)
...th/special_functions/detail/t_distribution_inv.hpp 96.92% <100.00%> (+0.08%) ⬆️
test/test_students_t.cpp 99.59% <100.00%> (+0.01%) ⬆️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64a8d75...364cd3b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jzmaddock
jzmaddock merged commit d9fc176 into develop Aug 26, 2026
78 checks passed
@tasuku-kobayashi

Copy link
Copy Markdown

Thanks for the quick investigation and fix!

@NAThompson
NAThompson deleted the issue1436 branch August 26, 2026 22:37
@dschmitz89

Copy link
Copy Markdown
Contributor

Thanks as ever @jzmaddock .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

students_t quantile returns wrong-signed +inf for tiny lower-tail probabilities (df-dependent onset)

3 participants