https://github.com/Axel2/fixedpnt.rb
Allows simulating binary fixed point calculations done in hardware.

There is another library from Phil Tomson which serves the same purpose
but with different properties:
http://rubyforge.org/projects/fixedpt/

For _decimal_ fixed point calculations there is at least the library
from Karl Brodowsky:
http://rubyforge.org/projects/long-decimal/


Kind Regards,
Axel

-- 
Posted via http://www.ruby-forum.com/.