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: Fix ldbl-128ibm powl spurious underflows


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Wed, 21 Nov 2012 22:59:51 +0000

> This patch fixes spurious underflow exceptions from ldbl-128ibm powl
> in a similar way to other floating-point formats.  As with existing
> practice in this and other ldbl-128ibm functions, it doesn't attempt
> to do anything special regarding the peculiarities of IBM long double
> (where values very close to 1 can be represented with discontiguous
> mantissa).
> 
> Tested that this eliminates the underflow exceptions on powerpc.
> 
> 2012-11-21  Joseph Myers  <joseph@codesourcery.com>
> 
> 	[BZ #14811]
> 	* sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
> 	nonzero exponents with absolute value below 0x1p-117 to +/-
> 	0x1p-117.

Thanks for taking care of this Joseph, looks great.


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