Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Exact (LISP-ish) calculations in Ruby?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="David Masover, post: 4652989"] This much is available through the Rational object: irb(main):001:0> Rational 3,4 => (3/4) irb(main):002:0> Rational(3) / 4 => (3/4) irb(main):003:0> Rational(3) / 4 / 12 => (1/16) I'm not sure about the rest of it, though it makes me wish I'd used Lisp for a recent project. I pretty much had to invent a symbolic equation manipulation class -- though, to be fair, I didn't look that hard for an existing one. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Exact (LISP-ish) calculations in Ruby?
Top