fp-nan? ( x -- ? )
Factor handbook » The language » Numbers » Floats » Bitwise operations on floats

Prev:fp-special? ( x -- ? )
Next:fp-qnan? ( x -- ? )


Vocabulary
math

Inputs
xa real


Outputs
?a boolean


Word description
Tests if x is an IEEE Not-a-Number value. While x can be any real number, this word will only ever yield true if x is a float.

See also
fp-special?, fp-qnan?, fp-snan?, fp-infinity?, fp-nan-payload, <fp-nan>

Definition


Methods