The following simple test should print 300, but it shows only 3.

#include <stdio.h>

int main(void)
{
        printf("%f\n", 300.0);
        return 0;
}

printf eats all following zero's after the last non zero digit.

If have tested it with uClibc 0.9.32-rc3 and the current snapshot.



_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to