Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> Factorial work up to 20. After that one gets negative results.
>
> > I changed the docs to do a 20!.
>
> Don't we have a TODO item to replace the existing factorial functions
> with a NUMERIC implementation?
We do, but until then, we should document a factorial that actually
returns a value in the int8 range. ;-)
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026