Part Number: CCSTUDIO-MSP
Other Parts Discussed in Thread: MSP430F5438A
Tool/software: TI C/C++ Compiler
I'm trying to specify a single-precision floating point NaN default in flash, eg. const float value = 0x7FA00000. The compiler is treating the hex value as an integer and converting it to a floating huge floating point value. How do I tell the compiler to use the hex value as is?