|
Contents | Previous | Next | Subchapters |
| Syntax |
NaN |
nan | |
| See Also | autoexec |
0/0 calculation.
The return value for each of these functions is a double-precision scalar.
If in Mlmode you enter
NaN == NaN
O-Matrix will respond
T
The function isnan
should be used to check for not a number.
According to the IEEE standard, the answer above should be false,
but the Microsoft compiler has a bug in it and results in true for
the comparison above.
In fact, Harmonic Software uses the Intel compiler for compiling O-Matrix,
but Intel insisted on copying the Microsoft bug for compatibility.