Part Number: CC3200
Tool/software: TI C/C++ Compiler
I've been baffled by this and it seems the Ti ARM compiler is misbehaving.
#define API_POLL_QUEUE_INTERVAL 30.0f
const float _API_POLL_QUEUE_INTERVAL=30.0f;
Report("adding #define float + const float: %f + %f = %f\n\r",API_POLL_QUEUE_INTERVAL,_API_POLL_QUEUE_INTERVAL,API_POLL_QUEUE_INTERVAL+_API_POLL_QUEUE_INTERVAL);
----> output
adding #define float + const float: 0.000000 + 30.000000 = 30.000000
I'm using Ti compiler v5.2.8, which is required for a library I'm using
This happens in both strict and relaxed fp modes