1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Revise geometry regression testing to eliminate most cross-platform

variation.  To do this, set extra_float_digits to -3 in the geometry
test, and tweak the CIRCLE_TBL dataset to avoid values that suffer
from severe cancellation error (eg, circles that just touch an axis).
We still need two geometry 'expected' files to account for the
difference between platforms that display minus zero as '-0' and those
that just say '0', but with luck that's all we'll need.
This commit is contained in:
Tom Lane
2002-11-08 20:09:55 +00:00
parent b26dfbb0e3
commit 337f73b1bb
19 changed files with 199 additions and 7128 deletions

View File

@ -2,6 +2,10 @@
-- GEOMETRY
--
-- Back off displayed precision a little bit to reduce platform-to-platform
-- variation in results.
SET extra_float_digits TO -3;
--
-- Points
--