[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Floating point modulo
Source position: math.pp line 227
operator operator mod( |
const a: Float; |
const b: Float |
):Float; |
Modulus is the floating-point equivalent of the modulo operation a mod b. It returns the result of
a-b * Int(a/b)
b may not be zero, but no check is performed.
|
Floatin point modulo |