This is the mail archive of the glibc-cvs@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]

GNU C Library master sources branch master updated. glibc-2.19-512-g30f3d07


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  30f3d07cbbde199b1a0b2c3e983f0f0546e7ea45 (commit)
      from  f0712b543eaddeca8fc6d7a8eb6b5b8d24105ce2 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=30f3d07cbbde199b1a0b2c3e983f0f0546e7ea45

commit 30f3d07cbbde199b1a0b2c3e983f0f0546e7ea45
Author: David S. Miller <davem@davemloft.net>
Date:   Sat May 24 18:58:01 2014 -0700

    Fix excessive ULP for y1_upward (0x2p+0) in test-float and test-ifloat.
    
    	* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
    	to occur in round to nearest mode when |x| >= 2.0

diff --git a/ChangeLog b/ChangeLog
index 818dd07..2f8ca80 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-31  David S. Miller  <davem@davemloft.net>
+
+	* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
+	to occur in round to nearest mode when |x| >= 2.0
+
 2014-05-30  Richard Henderson  <rth@twiddle.net>
 
 	* sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
diff --git a/sysdeps/ieee754/flt-32/e_j1f.c b/sysdeps/ieee754/flt-32/e_j1f.c
index cb9f97f..a180968 100644
--- a/sysdeps/ieee754/flt-32/e_j1f.c
+++ b/sysdeps/ieee754/flt-32/e_j1f.c
@@ -107,6 +107,7 @@ __ieee754_y1f(float x)
 		return -HUGE_VALF+x;  /* -inf and overflow exception.  */
 	if(__builtin_expect(hx<0, 0)) return zero/(zero*x);
 	if(ix >= 0x40000000) {  /* |x| >= 2.0 */
+		SET_RESTORE_ROUNDF (FE_TONEAREST);
 		__sincosf (x, &s, &c);
 		ss = -s-c;
 		cc = s-c;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |    5 +++++
 sysdeps/ieee754/flt-32/e_j1f.c |    1 +
 2 files changed, 6 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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