Handbook
Glossary
absmax ( a b -- x )
Vocabulary
math
.
compare
Inputs
a
a
number
b
a
number
Outputs
x
a
number
Word description
Returns the larger absolute number with the original sign.
Definition
USING:
kernel
math
;
IN:
math.compare
:
absmax
( a b -- x )
[
[
abs
]
bi@
>
]
most
;