exp(z)
Redefined to handle a Complex argument.
# File lib/complex.rb, line 486 def exp(z) if Complex.generic?(z) exp!(z) else Complex(exp!(z.real) * cos!(z.image), exp!(z.real) * sin!(z.image)) end end