'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.

Parents Reply Children
No data
More questions in this forum