madlib/madlib — pull request #171 by fschopp (2012-06-12 22:53:42+00:00)
Title: Probability functions: Improved corner-case handling for [negative_]binomial functions

Jira: MADLIB-537, MADLIB-544

Fixes:
- binomial and negative_binomial: Corner cases with success probability 0 or 1 are overridden, instead of being wrongly handled by boost
- Disallow success probability 0 for negative binomial
- Documentation: inverse_gamma_quantile() now accepts probability 0 (MADLIB-544)
- New unit tests for the above