summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrew Gierth2019-02-16 01:50:16 +0000
committerAndrew Gierth2019-02-16 01:50:16 +0000
commit72880ac182c8f3769f0be868f77166994282cb2a (patch)
treeb392d2abd92983a1d171de6a7cf6df818f572768 /src/test
parent457aef0f1fd365c68fab3fa2ca3ae48c5bd230c6 (diff)
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.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/resultmap7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/regress/resultmap b/src/test/regress/resultmap
index 3bd1585a355..c766d03df23 100644
--- a/src/test/regress/resultmap
+++ b/src/test/regress/resultmap
@@ -1,6 +1,3 @@
-float8:out:i.86-.*-freebsd=float8-small-is-zero.out
-float8:out:i.86-.*-openbsd=float8-small-is-zero.out
-float8:out:i.86-.*-netbsd=float8-small-is-zero.out
-float8:out:m68k-.*-netbsd=float8-small-is-zero.out
-float8:out:i.86-pc-cygwin=float8-small-is-zero.out
+float4:out:.*-.*-cygwin.*=float4-misrounded-input.out
+float4:out:.*-.*-mingw.*=float4-misrounded-input.out
float4:out:hppa.*-hp-hpux10.*=float4-misrounded-input.out