Translations of this page?:

tan

文法:

    #include <cmath>
    double tan( double 引数 );

tan()関数は、引数のタンジェントを計算して返します。引数はラジアンで渡します。もしも引数が無限大の場合には、tan()はNANを返し、浮動小数点数例外を上げます。

C++では、以下のオーバーロード版も提供されます:

    #include <cmath>
    float tan( float 引数 ); // C99のtanf()と同じです
    long double tan( long double 引数 ); // C99のtanl()と同じです

関連トピック: acos, asin, atan, atan2, cos, cosh, sin, sinh, tanh

 
• • • SitemapRecent changesRSScc