Re: POWER vs. POW ??? - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: POWER vs. POW ???
Date
Msg-id 4385B008.7020205@familyhealth.com.au
Whole thread Raw
In response to POWER vs. POW ???  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: POWER vs. POW ???  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Also, POW() is not documented here:

http://www.postgresql.org/docs/8.1/interactive/functions-math.html

Chris

Christopher Kings-Lynne wrote:
> How come these give slightly different results?
> 
> test=# SELECT POW(2,-2);
>  pow
> ------
>  0.25
> (1 row)
> 
> test=# SELECT POWER(2,-2);
>  power
> -------
>   0.25
> (1 row)
> 
> 
> (Note width of result field.)
> 
> Chris
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>               http://archives.postgresql.org


pgsql-hackers by date:

Previous
From: "D'Arcy J.M. Cain"
Date:
Subject: Re: POWER vs. POW ???
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: POWER vs. POW ???