Re: Arbitrary precision modulo operation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Arbitrary precision modulo operation
Дата
Msg-id 20040427015556.GE2206@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Arbitrary precision modulo operation  ("Dann Corbit" <DCorbit@connx.com>)
Ответы Re: Arbitrary precision modulo operation  (Paul Tillotson <pntil@shentel.net>)
Список pgsql-general
On Mon, Apr 26, 2004 at 12:48:45PM -0700, Dann Corbit wrote:
> Maple output:
> y := 123456789012345678901234567890 mod 123;
>                                y := 117

PgSQL 7.3.6 gives the right answer (117), 7.4 gets it wrong (-6). Most
likely a bug was introduced when NUMERIC was rewritten.  Strange it
hasn't been noticed before.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Vivir y dejar de vivir son soluciones imaginarias.
La existencia está en otra parte" (Andre Breton)

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 7.3.4 on Linux: UPDATE .. foo=foo+1 degrades massivly
Следующее
От: David Garamond
Дата:
Сообщение: Re: shadowing (like IB/Firebird)