Re: mingw32 floating point diff

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: mingw32 floating point diff
Дата
Msg-id CAE2gYzzK06Sn0c+GefaUk+eRp2KyvjRN82N7jBFy0izopO-tgg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: mingw32 floating point diff  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: mingw32 floating point diff  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> I poked at this a bit more.  I can reproduce the problem by using
> -mfpmath=387 on dromedary's host (fairly old 32-bit macOS); although
> I also get half a dozen *other* failures in the core regression tests,
> mostly around detection of float overflow.  So I'm not quite sure that
> this is comparable.  But at any rate, I tracked the core of the problem
> to pg_hypot:

I couldn't test if it helps, but another solution may be is to rip out
pg_hypot() in favour of the libc implementation.  This was discussed
in detail as part of "Improve geometric types" thread.

Last comment about it:

https://www.postgresql.org/message-id/9223.1507039405%40sss.pgh.pa.us



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: POC: Cleaning up orphaned files using undo logs
Следующее
От: Robert Haas
Дата:
Сообщение: Re: POC: Cleaning up orphaned files using undo logs