This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13941] printf of subnormal 'long double' numbers wrong on PowerPC
- From: "schwab at linux-m68k dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 03 Apr 2012 13:37:04 +0000
- Subject: [Bug libc/13941] printf of subnormal 'long double' numbers wrong on PowerPC
- Auto-submitted: auto-generated
- References: <bug-13941-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13941
Andreas Schwab <schwab@linux-m68k.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc-unknown-linux-gnu |
Build|powerpc-unknown-linux-gnu |
--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2012-04-03 13:37:04 UTC ---
It's a compiler bug, it miscomputes LDBL_MIN_EXP which is used by
__mpn_extract_long_double. Replacing it with the correct value -1021 fixes
this bug.
#define __LDBL_MIN_10_EXP__ (-291)
#define __LDBL_MIN_EXP__ (-968)
#define __LDBL_MIN__ 2.00416836000897277799610805135016e-292L
--
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.