Handbook
Glossary
u< ( x y -- ? )
Factor handbook
»
The language
»
Numbers
»
Floats
»
Floating point comparison operations
Next:
u<= ( x y -- ? )
Vocabulary
math
Inputs
x
a
real
y
a
real
Outputs
?
a
boolean
Word description
Tests if
x
is less than
y
.
Notes
This word performs an unordered comparison on floating point numbers. On rational numbers it is equivalent to
<
. See
Floating point comparison operations
for an explanation.
Definition
IN:
math
MATH:
u<
( x y -- ? )
foldable
flushable
Methods
USING:
math
math.private
;
M:
bignum
u<
bignum<
;
inline
USING:
math
math.private
;
M:
fixnum
u<
fixnum<
;
inline
USING:
math
math.private
;
M:
float
u<
float-u<
;
inline