mirror of
https://github.com/boostorg/math.git
synced 2026-07-21 13:23:43 +00:00
f724aec828
* ENH: add parameter finder for degrees or freedom * Add early exit if approximation is precise to machine precision * Loosen tolerance and add tests in the tails * Modularize and simplify * Use overflow error instead of inf * Relax all test tolerances * Should use a linter .. * Relax test tolerance for float precision and remove ill conditioned test with df=1e6 * Fix indentation * Loosen tolerance for very high degrees of freedom * Test if approximation is a good hint, otherwise fall back to 0.01 * Add test coverage of all cases for approximation * Do not use symmetry for better numerical accuracy in the tails * Add edge case tests * Exclude float from testing for extreme values * Update test comment * Replace non ASCII character.. * Simplify using boost's own relative error function * Add early exits for df=1 and df=inf Co-authored-by: Copilot <copilot@github.com> * Try to fix CI carnage Co-authored-by: Copilot <copilot@github.com> * Simplify analytical cases and raise overflow error for normal case * Rename to find_degrees_of_freedom --------- Co-authored-by: Copilot <copilot@github.com>