RAA - rational

rational / 1.19

Short description: Rational Number
Category: Library/Math
Status: experimental
Created: 2003-07-31 01:27:37 GMT
Last update: 2008-01-16 08:41:07 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/rational/
License: Ruby's
Dependency:
Required by: date2/4.0.16 (optional - for better performance)
Required by: date4/0.1.27 (optional - for better performance)
Description:

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

Ver.1.16: works on x86_64.
Ver.1.13: Fix String#to_r.
Ver.1.12: Rational.reduce, Rational.new!
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 of 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