This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2908] New: improper printing of hexadecimal floating point numbers


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]