From: Aldric Giacomoni Date: 2009-11-18T23:35:36+09:00 Subject: Exact (LISP-ish) calculations in Ruby? Has anyone written a gem for exact calculations? The kind one would find on a LISP REPL, or when using your average HP scientific calculator? >> 3 / 4 => 3/4 >> 3 / 6 => 1/2 >> sqrt(2) => sqrt(2) >> sqrt(4) >> 2 I couldn't find anything on gemcutter or rubyforge, but maybe I missed it.. I don't ask because I need it.. I ask because of an idealistic desire for exact calculations :) -- Posted via http://www.ruby-forum.com/.