fmod (FUN)ΒΆ
FUNCTION fmod : LREAL
This function will return the modulo of the integral division \(\frac{x}{m}\):
\[x\ \mathrm{mod}\ m = x - \left \lfloor \frac{x}{m} \right \rfloor \cdot m\]
Note
The invalid input \(m=0\) will result in the return 0.
- InOut:
- Scope - Name - Type - Comment - Return - fmod- LREAL- Input - lrX- LREAL- Dividend \(x\) - lrM- LREAL- Divisor \(m\) 
