[uClibc]printf and floats
Ian Leonard
ileonard at ntlworld.com
Wed Oct 3 12:27:31 UTC 2001
Hello
Why does:
printf ( "%f\n", 33.33)
produce:
0.000000
I tried the copy of uClibc that comes with the m68k-elf tools and also
compiled the lastest CVS
Floating point numbers are working and I check the Config file.
I added diagnostics and found that the number goes into a function
called __dtostr () and it is this that produces the zeros.
Can anybody help me find a solution.
TIA.
--
Ian Leonard
eMail: ileonard at ntlworld.com
Phone: +44 (0)1865 765273
Please ignore spelling and punctuation - I did.
More information about the uClibc
mailing list