Fix generic fdiml.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 25 Aug 2009 22:48:06 +0000 (15:48 -0700)
committerUlrich Drepper <drepper@redhat.com>
Tue, 25 Aug 2009 22:48:06 +0000 (15:48 -0700)
ChangeLog
math/s_fdiml.c

index 171e0c2..365b0b8 100644 (file)
--- 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.
index e1ff11b..f3072b9 100644 (file)
@@ -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))