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.


David Miller <davem@davemloft.net> writes:

> What I really don't understand is why ldbl-128ibm's variant of this
> code doesn't trigger this same problem on powerpc testsuite runs.
> Either it is happening (and therefore ldbl-128ibm/s_log1pl.c needs a
> similar change to this) or powerpc isn't generating the exceptions.

IBM long double cannot represent 0x1p-8189L, so this test is skipped.
ppc is also seeing spurious underflows:

Failure: Real part of: clog10 (0x1.00000000000000123456789abcp0 + 0x1.23456789p-1000 i) == 4.285899851347756186652871946325962330640e-19 + 4.611541215247321502041995872887317363241e-302 i: Exception "Underflow" set
Failure: Real part of: clog10 (0x0.fffffffffffff8p0 + 0x0.fffffffffffff8p-1000 i) == -4.821637332766435821255375046554377090472e-17 + 4.053112396770095089737411317782466262176e-302 i: Exception "Underflow" set

But here it is generated in atan2.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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