Re: Line intersection point is wrong - Mailing list pgsql-bugs

From Emre Hasegeli
Subject Re: Line intersection point is wrong
Date
Msg-id CAE2gYzxH_gO=uK4FXt13i6GERYYi+_QJOZUYt3LB=X3T2dWXqw@mail.gmail.com
Whole thread Raw
In response to Re: Line intersection point is wrong  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.

pgsql-bugs by date:

Previous
From: Maxim Sobolev
Date:
Subject: Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD
Next
From: Tom Lane
Date:
Subject: Re: BUG #14206: Switch to using POSIX semaphores on FreeBSD