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

Prev:next-float ( m -- n )
Next:fp-nan? ( x -- ? )


Vocabulary
math

Inputs
xa real


Outputs
?a boolean


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

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

Definition


Methods