X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=adoc%2Fp_divmod.adoc;h=432e37926f3ce572a935dc8986f71d155a06d6fd;hb=8e9e9a2c52a654a354a83c9d80662fa34fab677d;hp=5e8f2a9034005d846e7a946556ceede4a1ea0f40;hpb=656f37efbd89db1b1088281047a9633cf74e92ec;p=rrq%2Frrqforth.git diff --git a/adoc/p_divmod.adoc b/adoc/p_divmod.adoc index 5e8f2a9..432e379 100644 --- a/adoc/p_divmod.adoc +++ b/adoc/p_divmod.adoc @@ -10,7 +10,7 @@ Data stack: ( v1 v2 -- q r ) "/MOD" (div-mod) is a function word that replaces a pair of values with the results of signed integer division of the first, v1, divided -by the scond, v2. To that end, the values are 64-bit signed integers. +by the second, v2. To that end, the values are 64-bit signed integers. The result is the integer quotient, q, and the remainder, r, where q and r are the respectively largest and smallest integers to satisfy the formula: