Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

isnan tests if an input is NaN. isnan(error) (x) is 1 if x is NaN, and 0 otherwise.

...