ESBRem Function |
Unit
QESBPCSMath
Declaration
Function ESBRem(const X, Y: Extended): Extended;
Description
ESBTolerance may need to be changed to a different value.
Parameters |
X | First Float to process |
Y | Second Float to process |
Category
Arithmetic Routines for FloatsImplementation
function ESBRem (const X, Y: Extended): Extended; begin if FloatIsZero (Y) then raise EMathError.Create (rsDivideByZero); Result := X - Int (X / Y) * Y End; |
|