jacob said:
excuse me that should have been
with correctly matched parentheses!
The same
insan(z) --> isnan(real(z)) && isnan(imag(z))
I think C++ will expand nothing but syntactic sugar(template function).
According to C++0x draft (here, N2315).
26.7 [c.math]
12
The templates defined in <cmath> replace the C99 macros with the same
names. The templates have the following
declarations:
....
template <class T> bool isnan(T x);
....
13
The templates behave the same as the C99 macros with corresponding names
defined in C99 subclause 7.12.3, Classification macros, and C99
subclause 7.12.14, Comparison macros.
SEE ALSO: ISO C subclauses 7.5, 7.10.2, 7.10.6.