/mod  ( n1 n2 -- n3 n4 )

published: 9 January 2022 / updated 16 February 2022

Lire cette page en français

 

vocabulary: forth

Divide n1 by n2, giving the single-cell remainder n3 and the single-cell quotient n4.

Example:

22 7 /MOD . .    \ display    3 1 

Legal: site web personnel sans commerce / personal site without seling