This is the mail archive of the libc-alpha@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]

Re: [PING] [PATCH] PowerPC libm-test.inc expl(1000.0L) resultexceeds __LDBL_MAX__ for IBM Long Double 128.


On Thu, 2008-05-22 at 11:35 -0700, Ulrich Drepper wrote:
> I don't understand this.  This exponent for the format is 15 bits in (14
> bits but sign).  That's an exponent of 16384.  Where is the problem?

Hi Ulrich,

PowerPC uses the IBM Long Double 128 format which is double double, not
IEEE128.  So it has an 11-bit exponent and effective 106 bit mantissa.

Ryan S. Arnold
IBM Linux Technology Center
Linux Toolchain Development


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