summaryrefslogtreecommitdiffstats
path: root/newlib/libm/mathfp/sf_logarithm.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libm/mathfp/sf_logarithm.c')
-rw-r--r--newlib/libm/mathfp/sf_logarithm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libm/mathfp/sf_logarithm.c b/newlib/libm/mathfp/sf_logarithm.c
index 8aa85e880..c22ba862a 100644
--- a/newlib/libm/mathfp/sf_logarithm.c
+++ b/newlib/libm/mathfp/sf_logarithm.c
@@ -49,7 +49,7 @@ _DEFUN (logarithmf, (float, int),
errno = EDOM;
return (z_notanum_f.f);
}
- else if (!isfinitef(x))
+ else if (!isfinite(x))
{
if (isnanf(x))
return (z_notanum_f.f);