This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

'NAN' and +/- Infinity

In ANSI C, relative to floats and doubles, is the concept of 'not a
number' and plus and minus infinity supported by named constants that
you can use to test variables with to see if they do contain 'valid'
floats and doubles? If not, is there some other topic I could
investigate to perform that type of test?

Curious,
Dave.

0