POWER vs. POW ???

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: pgsql-hackers(at)postgresql(dot)org
Subject: POWER vs. POW ???
Date: 2005-11-24 12:00:21
Message-ID: 4385AB55.8030803@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Reinoud van Leeuwen 2005-11-24 12:06:00 Re: POWER vs. POW ???
Previous Message Magnus Hagander 2005-11-24 11:35:51 Re: [BUGS] BUG #2052: Federal Agency Tech Hub Refuses to Accept