neg? ( x -- ? ) - Factor Documentation

neg? ( x -- ? )


Vocabulary
math

Inputs
x an object


Outputs
? a boolean


Word description
Pushes t if x is negative, else f

Definition
IN: math

GENERIC: neg? ( x -- ? )


Methods
USING: math ;

M: float neg? fp-sign ; inline


USING: math ;

M: ratio neg? numerator neg? ; inline


USING: math ;

M: rational neg? 0 < ; inline

AltStyle によって変換されたページ (->オリジナル) /