From: Joseph Myers Date: Tue, 25 Aug 2009 22:48:06 +0000 (-0700) Subject: Fix generic fdiml. X-Git-Tag: glibc-2.10.2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5b9372e3d5055b5c049945aeab236d9a867789e;p=thirdparty%2Fglibc.git Fix generic fdiml. (cherry picked from commit e9f145cba8691a81dac379914bb3895360795a9b) --- diff --git a/ChangeLog b/ChangeLog index f5c24d4a7c9..d20156984ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-08-25 Joseph Myers + + * math/s_fdiml.c (__fdiml): Use fpclassify instead of fpclassifyl. + 2009-08-24 Ulrich Drepper * math/s_fdim.c: In case of overflows set errno. diff --git a/math/s_fdiml.c b/math/s_fdiml.c index e1ff11b307e..f3072b99a00 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))