summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2010-12-08 23:22:20 +0000
committerJeff Johnston <jjohnstn@redhat.com>2010-12-08 23:22:20 +0000
commit23dbdc2aaa4b620a40596a50e24f2ea0a8ecb78f (patch)
treefcd02413ef9165d5717fa91b8b80d0e15d7037ea
parentf8afe40f49bd9189c70188f222962c8c83187664 (diff)
downloadcygnal-23dbdc2aaa4b620a40596a50e24f2ea0a8ecb78f.tar.gz
cygnal-23dbdc2aaa4b620a40596a50e24f2ea0a8ecb78f.tar.bz2
cygnal-23dbdc2aaa4b620a40596a50e24f2ea0a8ecb78f.zip
2010-12-08 Jeff Johnston <jjohnstn@redhat.com>
* libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/libm/mathfp/sf_logarithm.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 1966473dd..6884ebf22 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-08 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
+
2010-12-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* include/sys/types.h: Add #if defined(__rtems__) around
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);