External Interfaces Reference Previous page   Next Page
mxIsInf

Determine if input is infinite

Fortran Syntax

Arguments

value
   The double-precision, floating-point number that you are testing.

Returns

Logical 1 (true) if value is infinite, and logical 0 (false) otherwise.

Description

Call mxIsInf to determine whether or not value is equal to infinity or minus infinity. MATLAB stores the value of infinity in a permanent variable named Inf, which represents IEEE arithmetic positive infinity. The value of the variable, Inf, is built into the system. You cannot modify it.

Operations that return infinity include:

See Also

mxIsFinite, mxIsNaN


Previous page  mxIsFull (Obsolete) mxIsInt8 Next page

© 1994-2005 The MathWorks, Inc.