I'm running AS 7.0.1645
I have an un-initialized float nanCheck that the debugger reports as -nan(0x7fffff).
isnan( nanCheck ) returns 0 // (FAIL!) fpclassify( nanCheck ) returns FP_NORMAL // (FAIL!) nanCheck += 1; // nanCheck remains unchanged (correct!) nanCheck *= 0; // nanCheck == 0 (FAIL!) if( nanCheck != nanCheck ) // optimized out (FAIL!) float foo = nanCheck; if( foo != nanCheck ) // works (correct!)
I read in the AVR forum that they got a new library that finally fixed the floating point stuff. Is there such an update for the ARM platform also?
If so, how and where do I get it ?
If not, is anyone at Atmel aware of this issue?