Opened 5 years ago

Closed 5 years ago

#8314 closed Bugs (fixed)

ibeta error for fisher f distribution

Reported by: nyberg72@… Owned by: John Maddock
Milestone: To Be Determined Component: math
Version: Boost 1.52.0 Severity: Problem
Keywords: beta function,, root finding, fisher f distributiond Cc:


The following call sequence

#include <boost/math/distributions/fisher_f.hpp>

int main () {

double p = 3.0000000000000008e-068; Just an example, other very small values for p give the same error

boost::math::fisher_f_distribution<double> fd(2.0, 9.0);

double F = boost::math::quantile(boost::math::complement(fd, p));

return 0;


Will throw

Error: Error in function boost::math:ibeta<long double>(long double, long double, long double): Root finding evaluation exceeded 200 iterations, giving up now.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by John Maddock

Resolution: fixed
Status: newclosed

(In [83512]) Fix edge case in Halley iteration where the derivative is flatlining. Fix edge cases in poisson distribution quantile. Fixes #8314. Fixes #8308. Update and regenerate docs.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.