Re: Problem with factorial operator - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Problem with factorial operator
Date
Msg-id 200204181429.g3IETV803500@candle.pha.pa.us
Whole thread Raw
In response to Re: Problem with factorial operator  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Michael Loftis
Date:
Subject: Re: freebsd install
Next
From: Oliver Elphick
Date:
Subject: Re: Help: a rare problem with backing and restoring