This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
exp(z)
Redefined to handle a Complex argument.
# File lib/complex.rb, line 482 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