Re: BUG #3387: mod on non-integer returns bad result

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3387: mod on non-integer returns bad result
Дата
Msg-id 4623.1181922124@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3387: mod on non-integer returns bad result  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: BUG #3387: mod on non-integer returns bad result  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-bugs
Gregory Stark <stark@enterprisedb.com> writes:
> The source of the problem is the floating point arithmetic which is used to do
> the individual steps in the long division.

I don't think so.  The ultimate source of the problem is that div_var
can only report a finite number of digits.

            regards, tom lane

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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: BUG #3387: mod on non-integer returns bad result
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: BUG #3387: mod on non-integer returns bad result