Z
Ziggy
I'm having a user experience an Underflow/Overflow
exception where a double is checked for equivalence to
double.NaN similar to:
double myDouble = 1.1;
if (myDouble.Equals(double.NaN))
{
// do stuff
}
The user says they are using Win XP Pro. I've been using
this code for quite a while without any reports of this
exception, could it be some setting the user has in the
bios or something? It seems his system is unable to
correctly represent double.NaN and is throwing an
underflow exception, at least that's my guess. Has
anyone experienced something similar or knows of some
memory setting that could cause this??
Thanks
exception where a double is checked for equivalence to
double.NaN similar to:
double myDouble = 1.1;
if (myDouble.Equals(double.NaN))
{
// do stuff
}
The user says they are using Win XP Pro. I've been using
this code for quite a while without any reports of this
exception, could it be some setting the user has in the
bios or something? It seems his system is unable to
correctly represent double.NaN and is throwing an
underflow exception, at least that's my guess. Has
anyone experienced something similar or knows of some
memory setting that could cause this??
Thanks