pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Adjust the tests for the hyperbolic functions.
Date: Thu, 14 Mar 2019 01:05:41 +0000
Message-ID: <E1h4EoX-0002nM-RI@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c015f853bf5958dd7562a17952df33a9d115e65f

Modified Files
--------------
src/test/regress/expected/float8.out | 131 ++++++++++++++++++++++++++++++-----
src/test/regress/sql/float8.sql      |  25 ++++++-
2 files changed, 138 insertions(+), 18 deletions(-)



Message-ID: <E1h4EoX-0002nM-RI@gemulon.postgresql.org>
Permalink:  ../E1h4EoX-0002nM-RI@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1h4EoX-0002nM-RI@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Adjust the tests for the hyperbolic functions.
  In-Reply-To: <E1h4EoX-0002nM-RI@gemulon.postgresql.org>
  References: <E1h4EoX-0002nM-RI@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox