From: Andrew Gierth <rhodiumtoad@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Cygwin and Mingw floating-point fixes.
Date: Sat, 16 Feb 2019 02:30:51 +0000
Message-ID: <E1gupkh-0005Wh-EL@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhodiumtoad@postgresql.org
Subject: Re: pgsql: Cygwin and Mingw floating-point fixes.
In-Reply-To: <E1gupkh-0005Wh-EL@gemulon.postgresql.org>
References: <E1gupkh-0005Wh-EL@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox