aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-01 17:03:34 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-09 10:29:18 -0300
commit890868ea70b0a9d8167b3fc6ba361e85a20823b6 (patch)
tree04935313ded650a881b14294c7e32abb0e001c28
parent6f1330247e563be0752bb9c653fa6083a1a2334f (diff)
downloadglibc-890868ea70b0a9d8167b3fc6ba361e85a20823b6.tar
glibc-890868ea70b0a9d8167b3fc6ba361e85a20823b6.tar.gz
glibc-890868ea70b0a9d8167b3fc6ba361e85a20823b6.tar.bz2
glibc-890868ea70b0a9d8167b3fc6ba361e85a20823b6.zip
math: Do not use __builtin_isinf on clang
It does not handle pseudo normal numbers.
-rw-r--r--math/math.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/math/math.h b/math/math.h
index 59caf4b7e6..0173919543 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1022,8 +1022,7 @@ enum
# define isinf(x) \
(__builtin_types_compatible_p (__typeof (x), _Float128) \
? __isinff128 (x) : __builtin_isinf_sign (x))
-# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \
- || __glibc_clang_prereq (3,7)
+# elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)
# define isinf(x) __builtin_isinf_sign (x)
# else
# define isinf(x) __MATH_TG ((x), __isinf, (x))