Re: pgsql: Fix behavior of exp() and power() for infinity inputs.

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Fix behavior of exp() and power() for infinity inputs.
Дата
Msg-id 20200615071302.GI52676@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: Fix behavior of exp() and power() for infinity inputs.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Fix behavior of exp() and power() for infinity inputs.
Список pgsql-committers
On Mon, Jun 15, 2020 at 12:10:52AM -0400, Tom Lane wrote:
> Yeah, and presumably Noah's other AIX critters will fail too.  I'm curious
> to see what damselfly will say; that's the other old-ish platform we have
> in the farm.  Once that reports in, I'm intending to push the attached or
> something close to it.  This is more or less the same thing for pow() as
> the current patch did for exp(): handle Inf cases manually and then
> simplify the error checks in the normal path.

Thanks.  What you have here looks consistent with what POSIX says:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/pow.html
--
Michael

Вложения

В списке pgsql-committers по дате отправления: