Re: numeric precision when raising one numeric to another.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Florian G(dot) Pflug" <fgp(at)phlo(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: numeric precision when raising one numeric to another.
Date: 2005-05-20 18:55:53
Message-ID: 27129.1116615353@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Florian G. Pflug" <fgp(at)phlo(dot)org> writes:
> It's not only useless, it's dangerous. As fas as I know, numeric
> _guarantees_ the result of a operation to be correct to the last digit.

Nonsense ... see division. By your argument we should not implement
numeric / numeric.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-05-20 19:01:49 Re: numeric precision when raising one numeric to
Previous Message Simon Riggs 2005-05-20 18:43:48 Re: [HACKERS] Inherited constraints and search paths