This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

sprintf and floating points?



hi,

I'm using a Concerto controller.

I know the general recommendation is to use the ustdlib.h for printf related functions.

But ustdlib.h doesn't have floating point on its implementation, and as it happens sprintf even thou part of standard C, fails if tried to use with %f or %g or %e or even integers %d.

So my question is: How do I transmit a long double via UART ?