| MATLAB Compiler | |
static bool IsNaN(double x)
Test if value is NaN (Not-a-Number) and returns true if value is NaN.
C++ syntax
Arguments
Return value
Description
Call mwArray::IsNaN to determine whether or not the value is NaN. NaN is the IEEE arithmetic representation for Not-a-Number. NaN is obtained as a result of mathematically undefined operations such as
The system understands a family of bit patterns as representing NaN. In other words, NaN is not a single value, rather it is a family of numbers that MATLAB (and other IEEE-compliant applications) use to represent an error condition or missing data.
![]() | static bool IsInf(double x) |
© 1994-2005 The MathWorks, Inc.