u<= ( x y -- ? )
Factor documentation > Factor handbook > The language > Numbers > Floats > Floating point comparison operations
Prev:u< ( x y -- ? )
Next:u> ( x y -- ? )


Vocabulary
math

Inputs and outputs
xa real
ya real
?a boolean


Word description
Tests if x is less than or equal to 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