We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
ANSI 'C' has MAXINT, MAXFLOAT, MAXDOUBLE, etc - do they help? I think they're in LIMITS.H and/or VALUES.H Dunno about the NaN though - does your FP library provide specific support?