Re: [HACKERS] bug in numeric_power() function

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] bug in numeric_power() function
Дата
Msg-id 200805080022.04016.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: [HACKERS] bug in numeric_power() function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > I have developed the attached patch which fixes 0 ^ 123.3.
>
> Did you actually read the wikipedia entry you cited?

Considering that 0::float8 ^ 0::float8 yields 1, making the numeric operator
do the same might not be completely unreasonable, but I find the rationale
that it is better for discrete mathematics fairly ludicrous on multiple
levels.

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: [GENERAL] pgbench not setting scale size correctly?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] bug in numeric_power() function