# File lib/complex.rb, line 507 def tanh(z) if Complex.generic?(z) tanh!(z) else sinh(z)/cosh(z) end end