[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 2:38:19
Message-ID: 1e6a39dab2726138fc5b900fecfb2f6d () ruby-forum ! com
[Download RAW message or body]

Ken Bloom wrote:
[...]
>> Wiring Rational into Numeric#/ shouldn't be too hard.  I'm not sure how
>> to deal with square roots without lots of special cases, however.
>> 
> 
> Umm, there's a standard library for wiring in Rational:
> 
> require 'mathn'

Great!   I didn't know about that.


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