- MathAbs
- MathArccos
- MathArcsin
- MathArctan
- MathArctan2
- MathClassify
- MathCeil
- MathCos
- MathExp
- MathFloor
- MathLog
- MathLog10
- MathMax
- MathMin
- MathMod
- MathPow
- MathRand
- MathRound
- MathSin
- MathSqrt
- MathSrand
- MathTan
- MathIsValidNumber
- MathExpm1
- MathLog1p
- MathArccosh
- MathArcsinh
- MathArctanh
- MathCosh
- MathSinh
- MathTanh
- MathSwap
MathMod
この関数は 2 つの数の分割後の実際の余りを返します。
double MathMod(
|
パラメータ
value
[in] 被除数値
value2
[in] 除数値
戻り値
MathMod 関数は val = i * y + f での f を val/y の余りとして計算します。ここで i は整数、f とval は同じ符号を有し、f の絶対値は y の絶対値未満です。
注意事項
MathMod() の代わりにfmod() の使用が可能です。