Re: WIP: rewrite numeric division - Mailing list pgsql-patches

From Gregory Stark
Subject Re: WIP: rewrite numeric division
Date
Msg-id 87bqebrpr8.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: WIP: rewrite numeric division  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: WIP: rewrite numeric division
List pgsql-patches
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

> Michael Paesold <mpaesold@gmx.at> writes:
>> Please, let's revisit this, and not postpone it without further
>> discussion. I never knew about the correctness issues in div_var(), but
>> since I know about it, I feel I am just waiting until that problem will
>> hit me or anyone else.
>
> Yeah.  I was basically waiting to see if anyone could come up with a
> faster solution.  Since no one seems to have an idea how to do it
> better, I'm inclined to apply the patch for 8.3.

My only reservation is that I don't have the numeric methods background to
tell if it's really necessary. My fix does resolve the only actual documented
inaccuracy in the existing method.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: rewrite numeric division
Next
From: Tom Lane
Date:
Subject: Re: WIP: rewrite numeric division