Hello
So I've been making great progress, getting to know my new Maple mini. But now I've hit a snag with, it seems, the GCC compiler (arm-none-eabi-g++ v4.4.1) -- or something else?
uint64_t u64 = 100;
double dbl = 1000.0;
double result = u64 * dbl;
SerialUSB.print("result="); SerialUSB.println(result);
Produces ...
result=<large double>
Without going into details, I enlisted sprintf to test the value and got "inf" out of that, too. Yet, of course, the mathematical answer should be simply 100000.00, which is certainly the results my calculator and my test code in test.cpp on my Mac, using standard GNU g++ each give.
What on Earth is going on? This looks to be a compiler bug. No?