Re: pgsql: Fix power() for large inputs yet more. - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Fix power() for large inputs yet more.
Date
Msg-id 20200616022340.GC2353@paquier.xyz
Whole thread Raw
In response to pgsql: Fix power() for large inputs yet more.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Fix power() for large inputs yet more.
List pgsql-committers
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

Attachment

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: pg_upgrade: set vacuum_defer_cleanup_age to zero
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix power() for large inputs yet more.