Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > 組み込みライブラリ > Mathモジュール > tanh
tanh(x) -> Float
x の双曲線正接関数の値を返します。
tanh(x) = sinh(x) / cosh(x)