pgsql: Cygwin and Mingw floating-point fixes.

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема pgsql: Cygwin and Mingw floating-point fixes.
Дата
Msg-id E1gupkh-0005Wh-EL@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Cygwin and Mingw floating-point fixes.

Deal with silent-underflow errors in float4 for cygwin and mingw by
using our strtof() wrapper; deal with misrounding errors by adding
them to the resultmap. Some slight reorganization of declarations was
done to avoid duplicating material between cygwin.h and win32_port.h.

While here, remove from the resultmap all references to
float8-small-is-zero; inspection of cygwin output suggests it's no
longer required there, and the freebsd/netbsd/openbsd entries should
no longer be necessary (these date back to c. 2000). This commit
doesn't remove the file itself nor the documentation references for
it; that will happen in a subsequent commit if all goes well.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/72880ac182c8f3769f0be868f77166994282cb2a

Modified Files
--------------
configure                     | 19 +++++++++++++++++++
configure.in                  | 13 +++++++++++++
src/include/port.h            |  5 +++++
src/include/port/cygwin.h     |  8 ++++++++
src/include/port/win32_port.h | 17 ++++++++++++-----
src/port/strtof.c             | 10 +++++++++-
src/test/regress/resultmap    |  7 ++-----
7 files changed, 68 insertions(+), 11 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix compiler builtin usage in new pg_bitutils.c
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make use of compiler builtins and/or assembly for CLZ, CTZ,POPC