Re: pgsql: Fix power() for large inputs yet more.

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix power() for large inputs yet more.
Date: 2020-06-16 02:23:40
Message-ID: 20200616022340.GC2353@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-06-16 02:38:59 Re: pgsql: Fix power() for large inputs yet more.
Previous Message Bruce Momjian 2020-06-16 00:59:56 pgsql: pg_upgrade: set vacuum_defer_cleanup_age to zero