summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2009-08-25 15:48:06 -0700
committerPetr Baudis <pasky@suse.cz>2009-09-18 17:52:27 +0200
commita5b9372e3d5055b5c049945aeab236d9a867789e (patch)
tree527124746f1ab1111bab5c4a55cefacf9bcab00c /math
parenta4a88a24a91dcfdc5c8816404cfdb68572f5bf95 (diff)
Fix generic fdiml.
(cherry picked from commit e9f145cba8691a81dac379914bb3895360795a9b)
Diffstat (limited to 'math')
-rw-r--r--math/s_fdiml.c4
1 files changed, 2 insertions, 2 deletions
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))