Adjust the tests for the hyperbolic functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 Mar 2019 01:05:33 +0000 (21:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 14 Mar 2019 01:05:33 +0000 (21:05 -0400)
commitc015f853bf5958dd7562a17952df33a9d115e65f
tree4329f4fe234c0e4c30df9f9a1126e2a6312ae3d9
parentc6f153dcfebccf7a0d92290037793c656f1caef5
Adjust the tests for the hyperbolic functions.

Preliminary results from the buildfarm suggest that no platform gets
commit c6f153dcf's test cases wrong by more than one or two units in
the last place, so setting extra_float_digits = 0 should be plenty
to hide the cross-platform variations.

Also, add tests for Infinity/NaN inputs.  I think it highly likely
that we'll end up removing these again, rather than adding code to
make ancient platforms conform.  But it seems useful to find out
just how many platforms have such issues before we make a decision.

Discussion: https://postgr.es/m/E1h3nUY-0000sM-Vf@gemulon.postgresql.org
src/test/regress/expected/float8.out
src/test/regress/sql/float8.sql