This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2908] New: improper printing of hexadecimal floating point numbers
- From: "ram dot gupta5 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Jul 2006 14:32:43 -0000
- Subject: [Bug libc/2908] New: improper printing of hexadecimal floating point numbers
- Reply-to: sourceware-bugzilla at sourceware dot org
This function works incorrectly in case when argument is of
long double type and precision is set to zero.
For example, call
printf( "%.0LA", ( long double ) 0x0.FFFFp+0 );
will output string "0XP+8" with character number 1 missing
between "X" and "P" instead of "0X1P+0".
--
Summary: improper printing of hexadecimal floating point numbers
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: ram dot gupta5 at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2908
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.