[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Floatin point modulo
Source position: math.pp line 216
function FMod( |
const a: Single; |
const b: Single |
):Single; overload; |
const a: Double; |
const b: Double |
):Double; overload; |
const a: Extended; |
const b: Extended |
):Extended; overload; |
FMod 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.