> this note deals with arbitrary precision arithmetics and Ruby > module BigMath and Ruby class BigDecimal. Sounds very cool :) Some random feedbacks: > as its base class. The name which I propose for this class is > R (which is standard mathematical usage), > other names that I considered were > Real, BigReal, BigR. Anything except just "R" -- this could stand for anything--"random" "radical" "the R statistics library"... > R allows to write > diff = x.sin**2 + x.cos**2 - 1 > which is very small20for, say, > x = R.new("1.23456789E123") > Algorithms for these mathematical functions which are suitable for > arbitrary precision are implemented in BigMath and BigDecimal based on > everywhere convergent power series expansions. Although such expansions Have you glanced at lib gmp? Take care. -=R -- Posted via http://www.ruby-forum.com/.