Issue 7: wrong output for %f
Status:  Fixed
Owner: ----
Closed:  Mar 2014
Reported by vincent....@quantec-networks.de, Dec 17, 2013
What steps will reproduce the problem?

CFLAGS += -DFORMAT_INCLUDE_FLOAT

printf("%.2f", 0.999f);

What is the expected output? What do you see instead?
expected: "0.99"
instead: "0.00"

What version of the product are you using? On what operating system?
r134

gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

Dec 17, 2013
#1 vincent....@quantec-networks.de
Contrary to what i posted, the expected output is "1.00" which matches glibc behavior.
So mant_to_char is correct rounding the right part but the left part processing seems not to take rounding into account.
Jan 10, 2014
Project Member #2 neil.johnson71
Thanks... I'll look into it.
Mar 17, 2014
Project Member #3 neil.johnson71
A fix is in testing.
Status: Started
Mar 17, 2014
Project Member #4 neil.johnson71
Seems ok.  Will resolve - if any further problems arise re-open this case.
Status: Fixed