strange under/overflow error

  • Thread starter Thread starter Ziggy
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top