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