This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Good morning,
I am programming the Concerto part on the Master (ARM) side. The math.h header file has some references in it to what appear to be Compiler constants, such as __NAN__ and __INFINITY__.
I have been unable however, to
1) find any reference to where these constants are defined or
2) any reference to their usage, other than the header file.
What I'm looking for is a clear #define for a NAN that I can use in my code as an error reply to a malformed data request over a communciations system. Something similar to the _FP_ILOGBNAN define, which is 0x7FFFFFFF. This is a nice, single precision float value that represents one possible NAN. However, this particular define is wrapped in a #if _ILONG which now begs the question, where is _ILONG defined?
I can't use these header constants without further understanding of all of the conditionals that the header is dependent on, some of which appear to be tool/ environment constants.
Thank you and best regards,
Steve Ciricillo