This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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] Some sparc{,v9,64} glibc fixes


Jakub Jelinek <jakub@redhat.com> writes:

> Hi!
>
> I have done 3 sparc builds this morning and this is the result of that.
>
> BTW, Andreas, can you please recompute:
> Failure: Test: atan2 (-0.00756827042671106339, -.001792735857538728036) == -1.80338464113663849327153994380
> Result:
>  is:         -1.80338464113663849327e+00  -0x1.cdaa9da7ca620c5349dcp+0
>  should be:  -1.80338464113663849327e+00  -0x1.cdaa9da7ca620c5349dcp+0
>  difference:  3.60900012278724126504e-30   0x1.24cc0000000000000000p-98
>  ulp       :  18739.0000
>  max.ulp   :  0.0000
> with additional precision?  This is something I haven't included in
> libm-test-ulps patch, as that is not atan2 ldbl-128 bug, but testcase.
> 30 digits aren't enough, all other numbers have at least 36.  Thanks.

the result with 36 digits is:
-1.80338464113663849327153994379639112

Ok to commit?

Andreas

2004-12-16  Andreas Jaeger  <aj@suse.de>

	* math/libm-test.inc (atan2_test): Compute value with 36 digits.



============================================================
Index: math/libm-test.inc
--- math/libm-test.inc	21 Nov 2004 19:55:57 -0000	1.63
+++ math/libm-test.inc	16 Dec 2004 18:46:59 -0000
@@ -943,7 +943,7 @@ atan2_test (void)
   TEST_ff_f (atan2, 0.390625L, .00029L, 1.57005392693128974780151246612928941L);
   TEST_ff_f (atan2, 1.390625L, 0.9296875L, 0.981498387184244311516296577615519772L);
 
-  TEST_ff_f (atan2, -0.00756827042671106339L, -.001792735857538728036L, -1.80338464113663849327153994380L);
+  TEST_ff_f (atan2, -0.00756827042671106339L, -.001792735857538728036L, -1.80338464113663849327153994379639112L);
 
   END (atan2);
 }

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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