D
Dylan
I need to write logic that checks a variable (a float) and branches
when that variable is set to the representation of QNAN.
I thought the following would work, but it doesn't.
if (MyVariable == std::numeric_limits<float>::quiet_NaN())
{
//blah blah
}
Any ideas?
when that variable is set to the representation of QNAN.
I thought the following would work, but it doesn't.
if (MyVariable == std::numeric_limits<float>::quiet_NaN())
{
//blah blah
}
Any ideas?