Handbook
Glossary
<fp-nan> ( payload -- nan )
Factor handbook
»
The language
»
Numbers
»
Floats
»
Bitwise operations on floats
Prev:
bits>double ( n -- x )
Next:
prev-float ( m -- n )
Vocabulary
math
Inputs
payload
an
integer
Outputs
nan
a
float
Word description
Constructs an IEEE Not-a-Number value with a payload of
payload
.
Notes
A
payload
of
0
will construct an Infinity value.
See also
fp-special?
,
fp-nan?
,
fp-qnan?
,
fp-snan?
,
fp-infinity?
,
fp-nan-payload
Definition
IN:
math
:
<fp-nan>
( payload -- nan )
9218868437227405312
bitor
bits>double
;
inline