From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix power() for large inputs yet more.
Date: Tue, 16 Jun 2020 11:23:40 +0900
Message-ID: <20200616022340.GC2353@paquier.xyz> (raw)
In-Reply-To: <E1jkyFX-0005RR-1Q@gemulon.postgresql.org>
References: <E1jkyFX-0005RR-1Q@gemulon.postgresql.org>
On Mon, Jun 15, 2020 at 11:10:43PM +0000, Tom Lane wrote:
> Fix power() for large inputs yet more.
>
> Buildfarm results for commit e532b1d57 reveal the error in my thinking
> about the unexpected-EDOM case. I'd supposed this was no longer really
> a live issue, but it seems the fix for glibc's bug #3866 is not all that
> old, and we still have at least one buildfarm animal (lapwing) with the
> bug. Hence, resurrect essentially the previous logic (but, I hope, less
> opaquely presented), and explain what it is we're really doing here.
fossa seems to still be complaining after that:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=fossa&dt=2020-06-16%2000%3A23%3A24
SELECT power(float8 '-inf', float8 '-2');
power
-------
- 0
+ -0
(1 row)
Thanks,
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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: michael@paquier.xyz, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Fix power() for large inputs yet more.
In-Reply-To: <20200616022340.GC2353@paquier.xyz>
References: <E1jkyFX-0005RR-1Q@gemulon.postgresql.org> <20200616022340.GC2353@paquier.xyz>
* 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