[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Exact (LISP-ish) calculations in Ruby?
From: Marnen Laibow-Koser <marnen () marnen ! org>
Date: 2009-11-19 13:12:09
Message-ID: e53420e0782d990910f89283c8809f7a () ruby-forum ! com
[Download RAW message or body]
Martin DeMello wrote:
> On Thu, Nov 19, 2009 at 2:55 PM, Gavin Sinclair <gsinclair@gmail.com>
> 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/.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic