Le 20/08/2012 05:51, Sébastien Brisard a écrit : > Hi, > the current implementation of Gamma.logGamma(double) fails silently when > the argument is not strictly positive, returning Double.NaN. > Previous discussions on this ML show that we all agree (do we?) that > throwing an exception is preferrable. Since I'm reimplementing this > function, I propose to change this behaviour. Do you think that would be > allowed in 3.1?
Yes, I think this kind of change can be introduced in a minro revision. Luc > > I do not think it breaks binary compatibility. Neither does it break the > contract of this method, since (quite fortunately) its behavior was not > specified in the Javadoc! > > Thanks for your suggestions, > Sébastien > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org