Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
Object
When mathn is required, Float is changed to handle Complex numbers.
Exponentiate by other
other
# File mathn.rb, line 316 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.1.5
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.44.0.