about summary refs log tree commit diff
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-04-17 16:12:41 -0300
commit645ebc4942a7edc5d4ddf31ce9ee5dfbe3c751a2 (patch)
treed98cec120cb300323d001a61b5ed1a1344bdd15f
parentfa7fa397d3090a4d7883439140d50ae1f6f8617b (diff)
downloadglibc-645ebc4942a7edc5d4ddf31ce9ee5dfbe3c751a2.tar.gz
glibc-645ebc4942a7edc5d4ddf31ce9ee5dfbe3c751a2.tar.xz
glibc-645ebc4942a7edc5d4ddf31ce9ee5dfbe3c751a2.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))