Handbook
Glossary
> ( x y -- ? )
Factor handbook
»
The language
»
Numbers
»
Arithmetic
»
Number protocol
Prev:
<= ( x y -- ? )
Next:
>= ( x y -- ? )
Vocabulary
math
Inputs
x
a
real
y
a
real
Outputs
?
a
boolean
Word description
Tests if
x
is greater than
y
.
Notes
This word performs an ordered comparison on floating point numbers. See
Floating point comparison operations
for an explanation.
Definition
IN:
math
MATH:
>
( x y -- ? )
foldable
flushable
Methods
USING:
math
math.private
;
M:
bignum
>
bignum>
;
inline
USING:
math
math.private
;
M:
fixnum
>
fixnum>
;
inline
USING:
math
math.private
;
M:
float
>
float>
;
inline
USING:
math
math.ratios.private
;
M:
ratio
>
scale
>
;