How can I compare a float to NaN if comparisons to NaN always return false?
<p>I have a float value set to NaN (seen in the Watch Window), but I can't figure out how to detect that in code:</p>

<pre><code>if (fValue == float.NaN) // returns false even though fValue is NaN
{
}
</code></pre>
