Mercurial > hg > octave-nkf
view .hgsub @ 17708:f10b7a578e2c
Correct return values of gamma() (see Numerical, item 3 on Projects page).
* liboctave/numeric/lo-specfun.cc(xgamma): Check for special cases of
NaN, -Inf, -integer and return NaN. Check for special case of 0 and
return -Inf.
* libinterp/corefcn/mappers.cc(Fgamma): Add %!tests for exceptional values.
author | Craig Hudson <c_hudson_phd@hotmail.com> |
---|---|
date | Tue, 02 Jul 2013 14:17:33 +0100 |
parents | 44f30dcd87e0 |
children |