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.21-432-gcbf377e
- From: wilco at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 3 Jun 2015 16:08:18 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-432-gcbf377e
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 cbf377edd318a6f35e5b54573f902299c6da9ed5 (commit)
from d81f90ccd0109de9ed78aeeb8d86e2c6d4600690 (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=cbf377edd318a6f35e5b54573f902299c6da9ed5
commit cbf377edd318a6f35e5b54573f902299c6da9ed5
Author: Wilco Dijkstra <wdijkstr@arm.com>
Date: Wed Jun 3 16:35:44 2015 +0100
Replace finite with isfinite.
diff --git a/ChangeLog b/ChangeLog
index 987e71f..33d9f66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
+ * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
+ isfinite.
+ * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
+ * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
+
+2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
+
* math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
__signbit* with standard C99 macros.
* math/e_exp10l.c: Likewise.
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_fmal.c b/sysdeps/ieee754/ldbl-128ibm/s_fmal.c
index 1c15e7e..837444a 100644
--- a/sysdeps/ieee754/ldbl-128ibm/s_fmal.c
+++ b/sysdeps/ieee754/ldbl-128ibm/s_fmal.c
@@ -26,7 +26,7 @@ __fmal (long double x, long double y, long double z)
/* An IBM long double 128 is really just 2 IEEE64 doubles, and in
* the case of inf/nan only the first double counts. So we use the
* (double) cast to avoid any data movement. */
- if ((finite ((double)x) && finite ((double)y)) && isinf ((double)z))
+ if ((isfinite ((double)x) && isfinite ((double)y)) && isinf ((double)z))
return (z);
/* If z is zero and x are y are nonzero, compute the result
diff --git a/sysdeps/ieee754/ldbl-96/s_fma.c b/sysdeps/ieee754/ldbl-96/s_fma.c
index 19736ef..8fd238c 100644
--- a/sysdeps/ieee754/ldbl-96/s_fma.c
+++ b/sysdeps/ieee754/ldbl-96/s_fma.c
@@ -34,7 +34,7 @@ __fma (double x, double y, double z)
{
/* If z is Inf, but x and y are finite, the result should be
z rather than NaN. */
- if (finite (x) && finite (y))
+ if (isfinite (x) && isfinite (y))
return (z + x) + y;
return (x * y) + z;
}
diff --git a/sysdeps/ieee754/ldbl-opt/nldbl-finite.c b/sysdeps/ieee754/ldbl-opt/nldbl-finite.c
index af96238..fc51508 100644
--- a/sysdeps/ieee754/ldbl-opt/nldbl-finite.c
+++ b/sysdeps/ieee754/ldbl-opt/nldbl-finite.c
@@ -4,7 +4,7 @@ int
attribute_hidden
__finitel (double x)
{
- return finite (x);
+ return isfinite (x);
}
extern __typeof (__finitel) finitel attribute_hidden;
weak_alias (__finitel, finitel)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
sysdeps/ieee754/ldbl-128ibm/s_fmal.c | 2 +-
sysdeps/ieee754/ldbl-96/s_fma.c | 2 +-
sysdeps/ieee754/ldbl-opt/nldbl-finite.c | 2 +-
4 files changed, 10 insertions(+), 3 deletions(-)
hooks/post-receive
--
GNU C Library master sources