summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-08-25 15:48:06 -0700
committerUlrich Drepper <drepper@redhat.com>2009-08-25 15:48:06 -0700
commite9f145cba8691a81dac379914bb3895360795a9b (patch)
treedd48657fd13a1417ea7551a040580aa7517d5078
parent5001998a12222792ccb0a3f230ab9d0b8b8bbca5 (diff)
downloadglibc-e9f145cba8691a81dac379914bb3895360795a9b.tar.gz
glibc-e9f145cba8691a81dac379914bb3895360795a9b.tar.xz
glibc-e9f145cba8691a81dac379914bb3895360795a9b.zip
Fix generic fdiml.
-rw-r--r--ChangeLog4
-rw-r--r--math/s_fdiml.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 171e0c238d..365b0b893b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-25  Joseph Myers  <joseph@codesourcery.com>
+
+	* math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl.
+
 2009-08-25  Ulrich Drepper  <drepper@redhat.com>
 
 	* sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
diff --git a/math/s_fdiml.c b/math/s_fdiml.c
index e1ff11b307..f3072b99a0 100644
--- a/math/s_fdiml.c
+++ b/math/s_fdiml.c
@@ -24,8 +24,8 @@
 long double
 __fdiml (long double x, long double y)
 {
-  int clsx = fpclassifyl (x);
-  int clsy = fpclassifyl (y);
+  int clsx = fpclassify (x);
+  int clsy = fpclassify (y);
 
   if (clsx == FP_NAN || clsy == FP_NAN
       || (y < 0 && clsx == FP_INFINITE && clsy == FP_INFINITE))