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