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 for bz#11589 - jn calculation


David Miller <davem@davemloft.net> writes:

> From: Andreas Schwab <schwab@linux-m68k.org>
> Date: Thu, 29 Sep 2011 23:40:08 +0200
>
>> I'm only interested in the long double tests.
>
> Well, IBM's changes broke the jn tests for all flat types
> on sparc, not just long-double.

Nothing broke them, they are just new tests that expose existing bugs.

> testing long double (without inline functions)
> Failure: Test: jn (2, 2.4048255576957729) == 0.43175480701968038399746111312430703
> Result:
>  is:          4.31754807019680381803e-01   0x1.ba1deea029493e99a8fcp-2
>  should be:   4.31754807019680383997e-01   0x1.ba1deea029493f3b959ep-2
>  difference:  2.19448415868800817350e-18   0x1.43d9447b3c18e8000000p-59
>  ulp       :  45577652813040756.0000

So the j0/j1 implementations were always broken.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"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]