non/spire — pull request #128 by denisrosset (2013-07-15 15:56:34+00:00)
Title: Added RationalNumber concrete class to Number.

Hi!

I added the RationalNumber implementation I needed, here is the code.

The only change to the Number class is a "isExact" method, which is true for SafeLong, Int, and Rational instances, and false for Double and BigDecimal instances.

Cheers,

Denis