From 72880ac182c8f3769f0be868f77166994282cb2a Mon Sep 17 00:00:00 2001 From: Andrew Gierth Date: Sat, 16 Feb 2019 01:50:16 +0000 Subject: 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. --- src/test/regress/resultmap | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/test') 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 -- cgit v1.2.3