Re: factorial doc bug? - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: factorial doc bug?
Date
Msg-id Pine.LNX.4.21.0109101501470.27552-100000@linuxworld.com.au
Whole thread Raw
In response to factorial doc bug?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: factorial doc bug?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
On Mon, 10 Sep 2001, Tatsuo Ishii wrote:

> In typeconv.sgml we have an example:
> 
> tgl=> select (4.3 !);
>  ?column?
> ----------
>        24
> (1 row)

Mathematically speaking, one cannot find the factorial of such a
number. Users could easily cast/round a float to an integer - making it
suitable for such an operation.

I'd say it was a documentation issue.

Gavin



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: pg_client_encoding
Next
From: Tatsuo Ishii
Date:
Subject: Re: factorial doc bug?