From: Marnen Laibow-Koser Date: 2009-11-19T22:12:09+09:00 Subject: Re: Exact (LISP-ish) calculations in Ruby? Martin DeMello wrote: > On Thu, Nov 19, 2009 at 2:55 PM, Gavin Sinclair > wrote: >> >> There's an algorithm for calculating square roots, similar (in >> appearance, not in process) to the algorithm for long division. �One >> or more generations ago, school students would have done it with pen >> and paper, I think. > > I learnt it in school, and I'm in my 30s, so one generation ago. Yeah, I learned it as a kid as well, and I'm about the same age. I've long since forgotten how to do it, though; I do remember that it involves a bit of trial multiplication. > > martin Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.