I am trying to print double and float using stdlib, and I got printed “%f is unsupported” or %g is unsupprted" instead. I am using SDK 1.1.0 and llvm compiler given by local supplier.
float temp=32.25;
sprintf(buffer,"“temp”:%f",temp);
“temp”: %f is unsupported
I’m running into this problem too. I’ve seen this on other systems. It seems they left out floating point from certain functions because they are such large memory hogs. I recall that under one system I had to use a different syslib library that included %f%g on an Atmel
chip. I’m assuming that’s the same thing here, however there’s no info about how to “pay the price” and use %f/%g.