This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 4rpl:commands:mod [2021/08/21 14:34] – Added note on floating point operations Karsten75 | 4rpl:commands:mod [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | < | + | < |
| + | < | ||
| ====== mod ====== | ====== mod ====== | ||
| Line 13: | Line 14: | ||
| </ | </ | ||
| - | <wrap indent> | + | <WRAP indent> |
| - | **Note:** For floating-point values, in the case of x % y if x and y are positive finite values. \\ | + | ? |
| - | </ | + | :: For floating-point values, in the case of x % y if x and y are positive finite values. \\ |
| - | + | | |
| - | <wrap indent> | + | </WRAP> |
| - | z is the result of x % y and is computed as x – n * y, where n is the largest possible integer that is less than or equal to x / y. | + | |
| - | </wrap> | + | |
| === See Also === | === See Also === | ||