diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | math/s_fdiml.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index f5c24d4a7c..d20156984a 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-24 Ulrich Drepper <drepper@redhat.com> * math/s_fdim.c: In case of overflows set errno. 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)) |