posted 16 years ago
If a and b are not infinite or NaN, then you've probably got 0 divided by 0, which gives NaN. You probably need to either modify your code so this never happens, or treat 0/0 as a special case. It all depends on what the purpose of your program is.
"I'm not back." - Bill Harding, Twister