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

Поиск
Список
Период
Сортировка
От Euler Taveira
Тема Re: power() function in Windows: "value out of range: underflow"
Дата
Msg-id CAHE3wgj4BCyjVNtVn9HysoApzfT5zK2uFCgCG8g+Ow9G50v1+w@mail.gmail.com
обсуждение исходный текст
Ответ на power() function in Windows: "value out of range: underflow"  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
Ответы RE: power() function in Windows: "value out of range: underflow"  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
RE: power() function in Windows: "value out of range: underflow"  (Huong Dangminh <huo-dangminh@ys.jp.nec.com>)
Список pgsql-bugs
2018-04-10 5:30 GMT-03:00 Huong Dangminh <huo-dangminh@ys.jp.nec.com>:
> There are some cases that power() function does not work
> correctly with 'NaN' arguments in Windows environment.
> Something like,
>
What is your exact OS version? What is your postgres version? I tested
with Windows 10 (10.0.16299) x64 and couldn't reproduce the error.

> postgres=# select power('NaN',11);
> ERROR:  value out of range: underflow
> postgres=# select power('NaN','NaN');
> ERROR:  value out of range: underflow
> postgres=# select power(11,'NaN');
> ERROR:  value out of range: underflow
>
> In Linux environment, instead of ERROR it returns 'NaN'.
>
Could you show us a simple test case? Print arguments, result and errno.


-- 
   Euler Taveira                                   Timbira -
http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: LDAP authentication fails with concurrent create extensions
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15149: Invalid cache id = 42