Re: Strange behavior with polygon and NaN

David Steele <david@pgmasters.net>

From: David Steele <david@pgmasters.net>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, tgl@sss.pgh.pa.us, gkokolatos@pm.me
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-03-15T12:34:00Z
Lists: pgsql-hackers
On 12/21/20 3:30 AM, Kyotaro Horiguchi wrote:
> At Tue, 01 Dec 2020 10:03:42 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote in
>> I think it should be "needs review" now.
> 
> Conflicted with some commit(s) uncertain to me. Rebased.

Tom, Georgios, thoughts on the new patch?

Regards,
-- 
-David
david@pgmasters.net



Commits

  1. In geo_ops.c, represent infinite slope as Infinity, not DBL_MAX.

  2. Fix FPeq() and friends to get the right answers for infinities.

  3. Extend the geometric regression test cases a little.

  4. Remove underflow error in float division with infinite divisor.