Vocabulary
math

Inputs
xa real


Outputs
?a boolean


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

Examples
USING: math prettyprint ; 1/0. fp-infinity? .
t

USING: io kernel math ; -1/0. [ fp-infinity? ] [ 0 < ] bi and [ "negative infinity" print ] when
negative infinity


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

Definition


Methods