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

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


Vocabulary
math

Inputs
xa real


Outputs
?a boolean


Word description
Tests if x is an IEEE Signaling 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-nan?, fp-qnan?, fp-infinity?, fp-nan-payload, <fp-nan>

Definition


Methods