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 Fri, 16 Nov 2012, David Miller wrote:

> Failure: pow (min_subnorm_value, min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (min_subnorm_value, -min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (max_value, min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (max_value, -min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (0.99, min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (0.99, -min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (1.01, min_subnorm_value) == 1.0: Exception "Underflow" set
> Failure: pow (1.01, -min_subnorm_value) == 1.0: Exception "Underflow" set

Those indicate that ldbl-128 needs a fix for bug 14811 (probably similar 
to those for other versions, i.e. saturating small exponents to +/- 
0x1p-128, but each version of pow is substantially different from the 
others).

> Failure: Real part of: clog10 (0x0.ffffffffffffffffp0 + 0x0.ffffffffffffffffp-15000 i) == -2.354315103889861110220423157644627849164e-20 + 1.541165759405643564697852372112893034397e-4516 i: Exception "Underflow" set
> Failure: Real part of: clog (0x0.ffffffffffffffffp0 + 0x0.ffffffffffffffffp-15000 i) == -5.421010862427522170184200798202494495630e-20 + 3.548665303440282824232502561095699343814e-4516 i: Exception "Underflow" set
> Failure: yn (10, min_value) == -inf: Exception "Underflow" set
> Failure: yn (10, min_value) == -inf: Exception "Underflow" set

These all look like real bugs, but I don't have specific suggestions for 
them.

-- 
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]