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) ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org