Re: power() function in Windows: "value out of range: underflow"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: power() function in Windows: "value out of range: underflow"
Дата
Msg-id 4591.1525039817@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: power() function in Windows: "value out of range: underflow"  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-bugs
David Rowley <david.rowley@2ndquadrant.com> writes:
> I wonder if it's better just to hard code these two cases before even
> calling the pow() function.

Yeah, see my followup --- I also found out that SUSv2 (POSIX 1997)
doesn't require either of these special cases, which helps explain
why the inconsistency on older platforms.

Hacking on a patch now.

            regards, tom lane


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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: power() function in Windows: "value out of range: underflow"
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15179: Related to copy command