RAA - rational/1.10

rational / 1.10

Short description: Rational Number
Category: Library/Math
Status: experimental
Created: 2003-07-31 01:27:37 GMT
Last update: 2006-06-27 09:23:47 GMT
Owner: Shin-ichiro HARA (Projects of this owner)
Homepage: http://blade.nagaokaut.ac.jp/~sinara/ruby/rational/
Download: http://blade.nagaokaut.ac.jp/~sinara/ruby/import-module/import-module-0.82.tar.gz
License: Ruby's
Dependency:
None
Description:

Extension Library of Rational compatible with rational.rb. This library works on Ruby 1.8.

Ver.1.10: to_r raises no exception. NilClass#to_r. Compatibile with mathn.rb
Ver.1.07: Allow rationalize(eps), eps < 0.
Ver.1.04: Fix Float#rationalize().
Ver.1.03: raise exception for invalid parameters for Float#rationalize().
Ver.1.02: Fix Rational#divmod, div, %.
Ver.1.01:
Now available `rationalize':
0.1.rationalize == Rational(1, 10)
whereas:
0.1.to_r == Rational(3602879701896397/36028797018963968)

Versions: [1.19 (2008-01-16)] [1.16 (2006-10-05)] [1.14 (2006-07-22)] [1.13 (2006-07-20)] [1.12 (2006-07-04)] [1.11 (2006-06-29)] [1.10 (2006-06-27)] [1.09 (2006-06-20)] [1.07 (2006-04-22)] [1.04 (2006-04-17)] [1.03 (2006-04-16)] [1.02 (2006-04-16)] [1.01 (2006-04-15)] [2003-0805 (-)]

Edit this project (for project owner)

back to RAA top