Translations of this page?:

log10

文法:

    #include <cmath>
    double log10( double 数値 );

log10()関数は、10を底とする数値の常用対数を計算して返します。もしも数値が負ならドメインエラーを、ゼロなら範囲エラーになります。

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

    #include <cmath>
    float log10( float 数値 ); // C99のlog10f()と同じです
    long double log10( long double 数値 ); // C99のlog10l()と同じです

関連トピック: log

 
• • • IndexRecent changesRSScc