public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11475] New: support for printing/reading decimal numbers (_Decimal64)
@ 2010-04-07  8:40 zimmerma+gcc at loria dot fr
  2010-04-07  9:11 ` [Bug libc/11475] " vincent+libc at vinc17 dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: zimmerma+gcc at loria dot fr @ 2010-04-07  8:40 UTC (permalink / raw)
  To: glibc-bugs

as far as I know, the current glibc does not print/read decimal formats
(_Decimal64 for example). Is there any plan to support this?

Example code:
#include <stdio.h>

int
main()
{
  double d = 0.1;
  _Decimal64 e = 0.1;
  printf ("%.20f\n", d);
  printf ("%.20f\n", e);
}

gives:

tarte% gcc bug.c
tarte% ./a.out 
0.10000000000000000555
0.00000000000000000000

We expect 0.10000000000000000000 for the second output.

-- 
           Summary: support for printing/reading decimal numbers
                    (_Decimal64)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: zimmerma+gcc at loria dot fr
                CC: glibc-bugs at sources dot redhat dot com


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.


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-11475-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-06-30 18:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-07  8:40 [Bug libc/11475] New: support for printing/reading decimal numbers (_Decimal64) zimmerma+gcc at loria dot fr
2010-04-07  9:11 ` [Bug libc/11475] " vincent+libc at vinc17 dot org
2010-04-07  9:12 ` vincent+libc at vinc17 dot org
2010-04-07  9:16 ` zimmerma+gcc at loria dot fr
2010-04-07  9:17 ` vincent+libc at vinc17 dot org
2010-04-07  9:25 ` vincent+libc at vinc17 dot org
2010-04-07  9:38 ` schwab at linux-m68k dot org
2010-04-07 13:30 ` drepper at redhat dot com
2010-04-07 15:30 ` vincent+libc at vinc17 dot org
2010-04-28  8:15 ` zimmerma+gcc at loria dot fr
     [not found] <bug-11475-131@http.sourceware.org/bugzilla/>
2014-06-30 18:18 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).