title: C/C++ NaN constant (literal)?
body: <p>Is this possible to assign a <code>NaN</code> to a <code>double</code> or <code>float</code> in C/C++? Like in JavaScript you do: <code>a = NaN</code>. So later you can check if the variable is a number or no.</p>