Re: More inaccurate results from numeric pow() - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: More inaccurate results from numeric pow()
Date
Msg-id CAEZATCV9JjGeCx=p414XB-yRsk5cb_V6rLq4jxK67pM0TnVeQQ@mail.gmail.com
Whole thread Raw
In response to Re: More inaccurate results from numeric pow()  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2 May 2016 at 18:38, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I don't much care for the hardwired magic number here, especially since
> exp_var() does not have its limit expressed as "6000" but as
> "NUMERIC_MAX_RESULT_SCALE * 3".  I think you should rephrase the limit
> to use that expression, and also add something like this in exp_var():

OK, that makes sense. Done that way.

Regards,
Dean



pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: atomic pin/unpin causing errors
Next
From: Gavin Flower
Date:
Subject: Re: Naming of new tsvector functions