mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user