This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11475] support for printing/reading decimal numbers (_Decimal64)
- From: "vincent+libc at vinc17 dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 7 Apr 2010 09:11:31 -0000
- Subject: [Bug libc/11475] support for printing/reading decimal numbers (_Decimal64)
- References: <20100407084013.11475.zimmerma+gcc@loria.fr>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From vincent+libc at vinc17 dot org 2010-04-07 09:11 -------
The code is invalid. %f takes an argument of type double, not a _Decimal64. You
need the D modifier (see WG14/N1312, 9.5 Formatted input/output specifiers), e.g.
%Df.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11475
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.