Opened 4 years ago

Closed 4 years ago

#8314 closed Bugs (fixed)

ibeta error for fisher f distribution

Reported by: nyberg72@… Owned by: johnmaddock
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 4 years ago by johnmaddock

  • Resolution set to fixed
  • Status changed from new to closed

(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.

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain johnmaddock.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.