Re: Floating point comparison inconsistencies of the geometric types

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: Floating point comparison inconsistencies of the geometric types
Дата
Msg-id CAE2gYzxcgkhkMP1oeiQji=CrgJKyq2mM3SSv5hMRBMxA0caidg@mail.gmail.com
обсуждение исходный текст
Ответ на Floating point comparison inconsistencies of the geometric types  (Emre Hasegeli <emre@hasegeli.com>)
Ответы Re: Floating point comparison inconsistencies of the geometric types  (Kevin Grittner <kgrittn@gmail.com>)
Список pgsql-hackers
My progress so far is attached as 2 patches.  First one introduces an
header file for adt/float.c.  Second one refactors the geometric
operations.

I have removed the fuzzy comparison macros all together.  It is very
hard to keep some of them and maintain consistency.  Many operators
that would benefit from the fuzzy comparison is quite broken at the
moment [1], anyway.  I have also made the comparisons safe against NaN
[2].

[1]
https://www.postgresql.org/message-id/flat/CAE2gYzw_-z%3DV2kh8QqFjenu%3D8MJXzOP44wRW%3DAzzeamrmTT1%3DQ%40mail.gmail.com
[2] https://www.postgresql.org/message-id/flat/28685.1468246504%40sss.pgh.pa.us

Вложения

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: One process per session lack of sharing
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: \timing interval