tan(z)
Redefined to handle a Complex argument.
# File lib/complex.rb, line 483 def tan(z) if Complex.generic?(z) tan!(z) else sin(z)/cos(z) end end