What's the best way to test for a float being set to nan or -nan? I found that the following conditional statement works --
if (value<0 || value>=0)
{
// do nothing -- its a normal number
}
else
{
// we have -nan or nan, return
return wPt;
}
-- but it seems a bit of a kluge. Is there a better way to test this?
Thanks!
Rich
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
