This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 4rpl:commands:mod [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:mod [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | < | + | < |
| + | < | ||
| ====== mod ====== | ====== mod ====== | ||
| Line 12: | Line 13: | ||
| trace(5 3 mod) #prints ' | trace(5 3 mod) #prints ' | ||
| </ | </ | ||
| + | |||
| + | <WRAP indent> | ||
| + | ? **Note: | ||
| + | :: For floating-point values, in the case of x % y if x and y are positive finite values. \\ | ||
| + | .. 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. | ||
| + | </ | ||
| + | |||
| + | === See Also === | ||
| + | * [[4rpl: | ||
| + | |||
| < | < | ||