Modify ↓

Opened 5 years ago

Closed 5 years ago

## #8314 closed Bugs (fixed)

# ibeta error for fisher f distribution

Reported by: | 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: |

### Description

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)

**Note:**See TracTickets for help on using tickets.

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