postgresql/src
Tom Lane c6f153dcfe Rethink how to test the hyperbolic functions.
The initial commit tried to test them on trivial cases such as 0,
reasoning that we shouldn't hit any portability issues that way.
The buildfarm immediately proved that hope ill-founded, and anyway
it's not a great testing scheme because it doesn't prove that we're
even calling the right library function for each SQL function.

Instead, let's test them at inputs such as 1 (or something within
the valid range, as needed), so that each function should produce
a different output.

As committed, this is just about certain to show portability
failures, because it's very unlikely that every platform computes
these functions the same as mine down to the last bit.  However,
I want to put it through a buildfarm cycle this way, so that
we can see how big the variations are.  The plan is to add
"set extra_float_digits = -1", or whatever we need in order to
hide the variations; but first we need data.

Discussion: https://postgr.es/m/E1h3nUY-0000sM-Vf@gemulon.postgresql.org
2019-03-13 18:13:45 -04:00
..
backend Use condition variables to wait for checkpoints. 2019-03-14 10:59:33 +13:00
bin Rename pg_verify_checksums to pg_checksums 2019-03-13 10:43:20 +09:00
common Add routine able to update the control file to src/common/ 2019-03-12 10:03:33 +09:00
fe_utils More unconstify use 2019-02-13 11:50:16 +01:00
include Use condition variables to wait for checkpoints. 2019-03-14 10:59:33 +13:00
interfaces Fix potential memory access violation in ecpg if filename of include file is 2019-03-11 16:11:16 +01:00
makefiles Move port-specific parts of with_temp_install to port makefile. 2019-02-04 18:54:56 +00:00
pl Remove unnecessary use of PROCEDURAL 2019-02-25 08:38:59 +01:00
port Fix error handling of readdir() port implementation on first file lookup 2019-03-04 09:49:06 +09:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Rethink how to test the hyperbolic functions. 2019-03-13 18:13:45 -04:00
timezone More unconstify use 2019-02-13 11:50:16 +01:00
tools Create a script that can renumber manually-assigned OIDs. 2019-03-12 10:50:48 -04:00
tutorial SQL comment: remove extra word in heading comment 2019-01-25 18:57:21 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Revert attempts to use POPCNT etc instructions 2019-02-15 16:32:30 -03:00
Makefile.shlib Ensure static libraries have correct mod time even if ranlib messes it up. 2018-11-29 15:53:44 -05:00
nls-global.mk Replace @postgresql.org with @lists.postgresql.org for mailinglists 2019-01-19 19:06:35 +01:00