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: [PATCH] Update sparc ULPs.


On Tue, 7 Aug 2012, David Miller wrote:

> The first new failure is in clog10l() and is definitely introduced by
> changes made in commit da865e95bcf9a5365de78fa6b5c681aca0a1bb46.
> 
> It's for this libm-test.inc test:
> 
>   TEST_c_c (clog10, 0x1p-8189L, 1.0L, 1.168114274114528946314738738025008370069e-4931L, 6.821881769209206737428918127156778851051e-1L);
> 
> This generates an underflow exception on sparc for long double.
> 
> GLIBC before the commit does not generate the underflow exception.

That does look like a previously unknown bug.  That exception doesn't 
appear for x86 (with the same long double range but lower precision) ... 
it could perhaps be a problem in the ldbl-128 log1pl.  Does log1pl 
(0x1p-16378L) (with of course -fno-builtin or use of volatile variables to 
prevent compile-time computation) generate a spurious underflow exception?

-- 
Joseph S. Myers
joseph@codesourcery.com


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