...
The isinf macro tests an input floating point value for infinity. isinf (x) returns 1 if x is infinity, -1 if x is negative infinity, and 0 otherwise.
isnan tests if an input is NaN. isnan(\x) is 1 if x is NaN, and 0 otherwise.
...
...
The isinf macro tests an input floating point value for infinity. isinf (x) returns 1 if x is infinity, -1 if x is negative infinity, and 0 otherwise.
isnan tests if an input is NaN. isnan(\x) is 1 if x is NaN, and 0 otherwise.
...