This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.15-394-g7bbfa5c
- From: aj at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 15 Mar 2012 13:34:45 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-394-g7bbfa5c
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 7bbfa5c6eca737faaa277d799437ac6a27863c93 (commit)
from da473fa8972807d9111d591f17cd59b8fb77c0d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=7bbfa5c6eca737faaa277d799437ac6a27863c93
commit 7bbfa5c6eca737faaa277d799437ac6a27863c93
Author: Andreas Jaeger <aj@suse.de>
Date: Thu Mar 15 14:34:03 2012 +0100
[BZ #13837]
* math/libm-test.inc (cos_test): Add a test case for large input
value.
(sin_test): Likewise.
(sincos_test): Likewise.
diff --git a/ChangeLog b/ChangeLog
index 89c6a25..90a056b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,41 @@
+2012-03-15 Andreas Jaeger <aj@suse.de>
+
+ [BZ #13837]
+ * math/libm-test.inc (cos_test): Add a test case for large input
+ value.
+ (sin_test): Likewise.
+ (sincos_test): Likewise.
+
+2012-03-15 Andreas Jaeger <aj@suse.de>,
+ Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #13658]
+ * sysdeps/x86_64/fpu/s_sincos.S: Delete Remove files so that
+ x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
+ * sysdeps/i386/fpu/branred.c: Likewise.
+ * sysdeps/i386/fpu/dosincos.c: Likewise.
+ * sysdeps/i386/fpu/mpa.c: Likewise.
+ * sysdeps/i386/fpu/s_cos.S: Likewise.
+ * sysdeps/i386/fpu/s_sin.S: Likewise.
+ * sysdeps/i386/fpu/s_sincos.S: Likewise.
+ * sysdeps/i386/fpu/sincos32.c: Likewise.
+
+ * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
+ Define.
+ (libc_feupdateenv_53bit): Define.
+ * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
+ Define.
+ (libc_feupdateenv_53bit): Define.
+
+ * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
+ 53 bit (without extend i386 double precision).
+
+ * math/libm-test.inc (sincos_test): Add tests for large input.
+ (sin): Likewise.
+ (cos): Likewise.
+
+ * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
+
2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 8882833..0801ca6 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -2115,6 +2115,7 @@ cos_test (void)
#ifdef TEST_DOUBLE
TEST_f_f (cos, 0.80190127184058835, 0.69534156199418473);
TEST_f_f (cos, 1e22, 0.5232147853951389454975944733847);
+ TEST_f_f (cos, 0x1p1023, -0.8263698346141479945007856808117);
#endif
END (cos);
@@ -6392,6 +6393,7 @@ sin_test (void)
TEST_f_f (sin, 0.80190127184058835, 0.71867942238767868);
TEST_f_f (sin, 2.522464e-1, 2.4957989804940911e-1);
TEST_f_f (sin, 1e22, -0.8522008497671888017727058937530);
+ TEST_f_f (sin, 0x1p1023, 0.5631277798508840248814522055909);
#endif
END (sin);
@@ -6564,6 +6566,7 @@ sincos_test (void)
#ifdef TEST_DOUBLE
TEST_extra (sincos, 0.80190127184058835, 0.71867942238767868, 0.69534156199418473);
TEST_extra (sincos, 1e22, -0.8522008497671888017727058937530, 0.5232147853951389454975944733847);
+ TEST_extra (sincos, 0x1p1023, 0.5631277798508840248814522055909, -0.8263698346141479945007856808117);
#endif
END (sincos);
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 38 ++++++++++++++++++++++++++++++++++++++
math/libm-test.inc | 3 +++
2 files changed, 41 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources