diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2015-06-03 16:35:44 +0100 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2015-06-03 16:35:44 +0100 |
commit | cbf377edd318a6f35e5b54573f902299c6da9ed5 (patch) | |
tree | df17452638183eedc8ad1a579f62a443a751f7a5 /sysdeps/ieee754/ldbl-128ibm/s_fmal.c | |
parent | d81f90ccd0109de9ed78aeeb8d86e2c6d4600690 (diff) | |
download | glibc-cbf377edd318a6f35e5b54573f902299c6da9ed5.zip glibc-cbf377edd318a6f35e5b54573f902299c6da9ed5.tar.gz glibc-cbf377edd318a6f35e5b54573f902299c6da9ed5.tar.bz2 |
Replace finite with isfinite.
Diffstat (limited to 'sysdeps/ieee754/ldbl-128ibm/s_fmal.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/s_fmal.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |