Re: POWER vs. POW ???

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: POWER vs. POW ???
Date: 2005-11-24 12:20:24
Message-ID: 4385B008.7020205@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2005-11-24 12:20:46 Re: POWER vs. POW ???
Previous Message D'Arcy J.M. Cain 2005-11-24 12:19:44 Re: POWER vs. POW ???