Translations of this page?:

fmod

文法:

    #include <cmath>
    double fmod( double x, double y );

fmod()関数は、x/yの剰余を返します。

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

    #include <cmath>
    float fmod( float x, float y ); // C99のfmodf()と同じです
    long double fmod( long double x, long double y ); // C99のfmodl()と同じです

関連トピック: ceil, fabs, floor

 
• • • SitemapRecent changesRSScc