Re: Arbitrary precision modulo operation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Arbitrary precision modulo operation
Дата
Msg-id 20040429022638.GD8757@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: Arbitrary precision modulo operation  ("Dann Corbit" <DCorbit@connx.com>)
Список pgsql-general
On Wed, Apr 28, 2004 at 03:06:25PM -0700, Dann Corbit wrote:
> /*
> ** Hopefully, I am not annoying anyone with all of this.
> ** This is a brief demonstration of how Newton's division algorithm
> works:
> */

Well, have you looked at Postgres implementation?  I don't know if it's
Newton or not, but it certainly is not simple (I didn't take the time to
understand it).

Have a look at src/backend/utils/adt/numeric.c function div_var()

 Cc: list trimmed ...

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"¿Cómo puedes confiar en algo que pagas y que no ves,
y no confiar en algo que te dan y te lo muestran?" (Germán Poo)

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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Postgre and Web Request
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Arbitrary precision modulo operation