Re: bug in numeric_power() function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bug in numeric_power() function
Дата
Msg-id 12538.1205298992@sss.pgh.pa.us
обсуждение исходный текст
Ответ на bug in numeric_power() function  ("Richard Wang" <ruc_wang@hotmail.com>)
Список pgsql-hackers
"Richard Wang" <ruc_wang@hotmail.com> writes:
> I expected 0 ^ 123.3 to be 0, but it reported error as follows
> postgres=# select 0 ^ 123.3;
> ERROR:  cannot take logarithm of zero

Hmm, seems like the numeric and float8 power operators don't agree
about 0^0 either...
        regards, tom lane


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: bug in numeric_power() function
Следующее
От: James Mansion
Дата:
Сообщение: Build problem with VS2008 Express Edition