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