Handbook
Glossary
fp-sign ( x -- ? )
Vocabulary
math
Inputs
x
a
float
Outputs
?
a
boolean
Word description
Outputs the sign bit of
x
. For ordered non-zero values, this is equivalent to calling
0 <
. For zero values, this outputs the zero's sign bit.
Definition
IN:
math
GENERIC:
fp-sign
( x -- ? )
Methods
USING:
math
;
M:
float
fp-sign
double>bits
63
bit?
;
inline