This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/13726] New: the result of wprintf (L"%La\n", (long double) 22.625); is 0xb.bp+1, but the correct result should be 0xb.5p+1
- From: "no.1zhouzhonghua at 163 dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 23 Feb 2012 03:32:53 +0000
- Subject: [Bug stdio/13726] New: the result of wprintf (L"%La\n", (long double) 22.625); is 0xb.bp+1, but the correct result should be 0xb.5p+1
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=13726
Bug #: 13726
Summary: the result of wprintf (L"%La\n", (long double)
22.625); is 0xb.bp+1, but the correct result should be
0xb.5p+1
Product: glibc
Version: 2.14
Status: NEW
Severity: normal
Priority: P2
Component: stdio
AssignedTo: unassigned@sourceware.org
ReportedBy: no.1zhouzhonghua@163.com
Classification: Unclassified
in the file sysdeps/x86_64/fpu/printf_fphex.c there is one expression in line
60:
leading = *numstr++;
but i think is should be like this :
leading = *numstr++; \
++wnumstr; \
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.