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.17-121-g438ebba
- From: davem at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 16 Jan 2013 04:32:36 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.17-121-g438ebba
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 438ebba294deaac875c8a2674b813afa05b0d4e6 (commit)
from 357679d2fc567e8d6c030cf0f0fd54f6c31e23a3 (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=438ebba294deaac875c8a2674b813afa05b0d4e6
commit 438ebba294deaac875c8a2674b813afa05b0d4e6
Author: David S. Miller <davem@davemloft.net>
Date: Tue Jan 15 20:32:13 2013 -0800
Use libc_fe*() in 32-bit nearbyint()
* sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
libc_feholdexcept and libc_fesetenv.
diff --git a/sysdeps/ieee754/dbl-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/s_nearbyint.c
index 60afafd..eb40c29 100644
--- a/sysdeps/ieee754/dbl-64/s_nearbyint.c
+++ b/sysdeps/ieee754/dbl-64/s_nearbyint.c
@@ -44,10 +44,10 @@ double __nearbyint(double x)
j0 = ((i0>>20)&0x7ff)-0x3ff;
if(j0<52) {
if(j0<0) {
- feholdexcept (&env);
+ libc_feholdexcept (&env);
w = TWO52[sx]+x;
t = w-TWO52[sx];
- fesetenv (&env);
+ libc_fesetenv (&env);
GET_HIGH_WORD(i0,t);
SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31));
return t;
@@ -56,10 +56,10 @@ double __nearbyint(double x)
if(j0==0x400) return x+x; /* inf or NaN */
else return x; /* x is integral */
}
- feholdexcept (&env);
+ libc_feholdexcept (&env);
w = TWO52[sx]+x;
t = w-TWO52[sx];
- fesetenv (&env);
+ libc_fesetenv (&env);
return t;
}
weak_alias (__nearbyint, nearbyint)
-----------------------------------------------------------------------
Summary of changes:
sysdeps/ieee754/dbl-64/s_nearbyint.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
GNU C Library master sources