Maintenance of Ruby 2.0.0 ended on February 24, 2016. Read more
Object
When mathn is required Bignum's division and exponentiation are enhanced to return more precise values from mathematical expressions.
Exponentiate by other
other
# File mathn.rb, line 107 def ** (other) if self < 0 && other.round != other Complex(self, 0.0) ** other else power!(other) end end
This page was generated for Ruby 2.0.0
Ruby-doc.org is provided by James Britt and Neurogami. Hack your world. Feed your head. Live curious.
Generated with Ruby-doc Rdoc Generator 0.44.0.