jrpn icon indicating copy to clipboard operation
jrpn copied to clipboard

JRPN Gamma function with negative integer numbers not returning infinity

Open fcrvincent opened this issue 8 months ago • 0 comments

The n! (Factorial) function of the HP-15C computes the Gamma of (n+1) for fractional and negative numbers. The Gamma of negative integers (eg -3) is infinity and displays an out-of-range blinking -9.99999999E99 on the HP-15C. See https://en.wikipedia.org/wiki/Gamma_function.

However JRPN15C displays a finite number (eg -3! -> 6.41E15).

fcrvincent avatar Apr 13 '25 16:04 fcrvincent