Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > cmathライブラリ > CMathモジュール > tan
tan(z) -> Float | Complex
z の正接関数の値を返します。