Handbook
Glossary
roman/mod ( x y -- z w )
Roman numerals
Prev:
roman/i ( x y -- z )
Vocabulary
roman
Inputs
x
a
string
y
a
string
Outputs
z
a
string
w
a
string
Word description
Computes the quotient and remainder of two Roman numerals.
Examples
USING: kernel io prettyprint roman ; "v" "iv" roman/mod [ print ] bi@
i i
See also
roman*
,
roman/i
Definition
USING:
math
roman.private
;
IN:
roman
:
roman/mod
( x y -- z w )
[
/mod
]
binary-roman-op
;