This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
printf_fp.c problem
- From: Matt Waddel <matt dot waddel at freescale dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 10 Aug 2005 20:31:48 -0600
- Subject: printf_fp.c problem
I get this output from the floating point printf() calls:
65535.000000
190157.845868
main()
{
double f;
f = 65535.0;
printf("%f\n",f);
f = 65536.0;
printf("%f\n",f);
}
I'm almost certain it's a problem in the printf_fp.c routine. Anybody
have any suggestions for where to concentrate my search?
Regards,
Matt