Handbook
Glossary
posmax ( a b -- x )
Vocabulary
math
.
compare
Inputs
a
a
number
b
a
number
Outputs
x
a
number
Word description
Returns the most-positive value, or zero if both are negative.
Definition
USING:
math.order
;
IN:
math.compare
:
posmax
( a b -- x )
0
max
max
;