Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
<fp-nan> ( payload -- nan )
Factor documentation
>
Factor handbook
>
The language
>
Numbers
>
Floats
>
Bitwise operations on floats
Prev:
bits>double ( n -- x )
Next:
prev-float ( m -- n )
Vocabulary
math
Inputs and outputs
payload
an
integer
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