Re: geo_decls.h oopsie...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: geo_decls.h oopsie...
Дата
Msg-id 4457.1013648868@sss.pgh.pa.us
обсуждение исходный текст
Ответ на geo_decls.h oopsie...  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-hackers
"Dann Corbit" <DCorbit@connx.com> writes:
> But to compare floating point, those are simply wrong.

See previous discussions concerning the quality of the builtin geometric
types.  Not clear that it's worth worrying about, unless you want to go
in for a wholesale overhaul.  My own opinion is that PostGIS will
supersede the need for these types...

> Here is a more reliable way to make a comparison:

Not like that.  Perhaps use a fraction of the absolute value of the
one with larger absolute value.  As-is it's hard to tell how FLT_EPSILON
is measured.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: NAMEDATALEN Changes
Следующее
От: Neil Conway
Дата:
Сообщение: Re: NAMEDATALEN Changes