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


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.

Anyways, here you go, this is math/test-ldouble.out

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
 max.ulp   :  0.0000
Failure: Test: jn (3, 2.4048255576957729) == 0.19899990535769083404042146764530813
Result:
 is:          1.98999905357690831525e-01   0x1.978d432b58d6331e9ad1p-3
 should be:   1.98999905357690834040e-01   0x1.978d432b58d63491db12p-3
 difference:  2.51569454687189462240e-18   0x1.734040bc5e8539000000p-59
 ulp       :  104497863142049081.0000
 max.ulp   :  0.0000
Failure: Test: jn (4, 2.4048255576957729) == 0.647466661641779720084932282551219891E-1
Result:
 is:          6.47466661641779707568e-02   0x1.0933ccdb33e9cf894ff2p-4
 should be:   6.47466661641779720085e-02   0x1.0933ccdb33e9d0fac17cp-4
 difference:  1.25172331574941715321e-18   0x1.71718a2ab16b0d000000p-60
 ulp       :  103989104641927949.0000
 max.ulp   :  0.0000
Failure: Test: jn (5, 2.4048255576957729) == 0.163892432048058525099230549946147698E-1
Result:
 is:          1.63892432048058520894e-02   0x1.0c8577e4888046c974b2p-6
 should be:   1.63892432048058525099e-02   0x1.0c8577e4888048b9dd24p-6
 difference:  4.20473920209159288648e-19   0x1.f06871d4d5d463000000p-62
 ulp       :  139726426559861859.0000
 max.ulp   :  0.0000
Failure: Test: jn (6, 2.4048255576957729) == 0.34048184720278336646673682895929161E-2
Result:
 is:          3.40481847202783355644e-03   0x1.be46bff8ec1772cb72fap-9
 should be:   3.40481847202783366467e-03   0x1.be46bff8ec1776c99929p-9
 difference:  1.08224251426841500748e-19   0x1.ff13178407c876000000p-64
 ulp       :  287709409638846700.0000
 max.ulp   :  0.0000
Failure: Test: jn (7, 2.4048255576957729) == 0.60068836573295394221291569249883076E-3
Result:
 is:          6.00688365732953919506e-04   0x1.3aef0716585c9b5410cdp-11
 should be:   6.00688365732953942213e-04   0x1.3aef0716585c9eade899p-11
 difference:  2.27069140120993045984e-20   0x1.acebe606312eb6800000p-66
 ulp       :  241461326422105453.0000
 max.ulp   :  0.0000
Failure: Test: jn (8, 2.4048255576957729) == 0.92165786705344923232879022467054148E-4
Result:
 is:          9.21657867053449192012e-05   0x1.8292428a99fffdfd69b7p-14
 should be:   9.21657867053449232329e-05   0x1.8292428a9a0002bfe9bap-14
 difference:  4.03167845883117522154e-21   0x1.30a000c243ba58000000p-68
 ulp       :  342977272158808416.0000
 max.ulp   :  0.0000
Failure: Test: jn (9, 2.4048255576957729) == 0.12517270977961513005428966643852564E-4
Result:
 is:          1.25172709779615123841e-05   0x1.a40289fa01602f206e16p-17
 should be:   1.25172709779615130054e-05   0x1.a40289fa016034fea69dp-17
 difference:  6.21303964973309093407e-22   0x1.778e21c0fb129c000000p-71
 ulp       :  422837567556962928.0000
 max.ulp   :  0.0000
Maximal error of `jn'
 is      : 422837567556962928 ulp
 accepted: 4 ulp

Test suite completed:
  4232 test cases plus 3441 tests for exception flags executed.
  9 errors occurred.


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