summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-96/s_fma.c
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2015-06-03 16:35:44 +0100
committerWilco Dijkstra <wdijkstr@arm.com>2015-06-03 16:35:44 +0100
commitcbf377edd318a6f35e5b54573f902299c6da9ed5 (patch)
treedf17452638183eedc8ad1a579f62a443a751f7a5 /sysdeps/ieee754/ldbl-96/s_fma.c
parentd81f90ccd0109de9ed78aeeb8d86e2c6d4600690 (diff)
downloadglibc-cbf377edd318a6f35e5b54573f902299c6da9ed5.tar.gz
Replace finite with isfinite.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/s_fma.c')
-rw-r--r--sysdeps/ieee754/ldbl-96/s_fma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_fma.c b/sysdeps/ieee754/ldbl-96/s_fma.c
index 19736ef957..8fd238cfe4 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;
}