[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Exact (LISP-ish) calculations in Ruby?
From: Aldric Giacomoni <aldric () trevoke ! net>
Date: 2009-11-18 19:04:02
Message-ID: fb8b6747a63cdabdd8a65d37222f3dd0 () ruby-forum ! com
[Download RAW message or body]
Aldric Giacomoni wrote:
>
> In all fairness, I just fired up SLIME to check, and LISP's (sqrt 2)
> does come out to be an approximation, so I guess I want something cool
> like the HP-48 and HP-49's factoring power..
And I just read up on the process of 'continuing fractions' which can be
used find fractions / estimates of irrational numbers down to the nth
decimal. I wonder how we can know that, for instance, 1.41421 (etc) is
sqrt(2) ... ?
Ah, mathematics.
--
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