Re: Fixing geometic calculation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixing geometic calculation
Дата
Msg-id 24011.1249663839@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixing geometic calculation  (Sam Mason <sam@samason.me.uk>)
Ответы Re: Fixing geometic calculation  (Sam Mason <sam@samason.me.uk>)
Re: Fixing geometic calculation  (Paul Matthews <plm@netspace.net.au>)
Список pgsql-hackers
Sam Mason <sam@samason.me.uk> writes:
> Sorry, I'm struggling to parse that.  I think it's all the double
> negatives.  Are you saying that HYPOT() should really return zero when
> it's currently giving back would be FPzero?

No, I'm worried about code that supposes that it can divide by (x - y)
after testing that FPeq(x,y) is not true.  point_sl() for instance.

We could perhaps fix those specific issues by testing the difference
explicitly instead of doing it like that.  But there's still the overall
problem of error accumulation ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alex Hunsaker
Дата:
Сообщение: Re: slow commits with heavy temp table usage in 8.4.0
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Table and Index compression