Re: Line intersection point is wrong

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Line intersection point is wrong
Date: 2016-06-21 20:25:58
Message-ID: CAE2gYzxH_gO=uK4FXt13i6GERYYi+_QJOZUYt3LB=X3T2dWXqw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Basically this comes down to the fuzziness of the FPzero/FPeq tests.
>
> It might be possible to fix this particular problem by changing the FPzero
> tests in line_parallel() to exact "== 0" tests; though we would likely
> be well advised to still keep the main test as FPeq.

That can create whole bunch of different problems, because then the
fuzziness wouldn't apply to the values around the zero. I don't think
there is any good solution without removing those macros all together.
We should just fix what is obviously broken for now.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2016-06-21 20:36:02 Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD
Previous Message Maxim Sobolev 2016-06-21 20:12:06 Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD