Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more
This is the API documentation for mathn: Ruby Standard Library Documentation.
CBignum
CComplex
CFixnum
CInteger
MMath
CPrime
CRational
::from_prime_division (Integer)
::new (Prime)
::rsqrt (Math)
::sqrt (Math)
#** (Rational)
#each (Prime)
#gcd2 (Integer)
#inspect (Rational)
#next (Prime)
#power! (Rational)
#power2 (Rational)
#prime_division (Integer)
#succ (Prime)