From: Aldric Giacomoni Date: 2009-11-19T21:53:34+09:00 Subject: Re: Exact (LISP-ish) calculations in Ruby? Gavin Sinclair wrote: > Not my idea of fun, though. The beauty of Mathematics is best > appreciated in the mind, for it's only there that sqrt(2) exists. Gavin, I'll take a look at existing CAS :) This being said, I rather think that the ability to use mental concepts without worrying that the computer will change them is rather important (I -said- sqrt(2), not 1.414 !) .. And, well, if Ruby can do it, then it should be available for those who do need it, don't you think? :) Florian Frank wrote: >I had to implement them for my bullshit library (which has grown to >include half a math library by now, ugh): >http://github.com/flori/bullshit/blob/master/lib/bullshit.rb#L20 Wow, massive amount of work you did there. Pretty cool coding, too. I may just have to shamelessly steal some of these :) -- Posted via http://www.ruby-forum.com/.