]> granicus.if.org Git - postgresql/commit
Test conversion of NaN between float4 and float8.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Apr 2018 23:54:58 +0000 (19:54 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 20 Apr 2018 23:55:08 +0000 (19:55 -0400)
commit55e0e458170c76c1a0074cd550a13ec47e38a3fa
treefcdf3ab09f882cea76f54b18748dcb66b253d5f2
parenta0fefbcb718fedd8f0198f74c3ae27933c92b090
Test conversion of NaN between float4 and float8.

Results from buildfarm member opossum suggest that this doesn't work
quite right on that platform.  We've seen issues with NaN support on
MIPS/NetBSD before ... allegedly they fixed this stuff back in 2010,
but maybe only for small values of "fixed".

If, in fact, opossum fails this test then I plan to revert it;
it's mainly for diagnostic purposes rather than something we'd
necessarily keep long-term.  I think that the failures in window.sql
could be worked around with some code duplication, but I want to
verify my theory about the cause first.
src/test/regress/expected/float4-exp-three-digits.out
src/test/regress/expected/float4.out
src/test/regress/sql/float4.sql