aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-04-01 16:35:32 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:41 -0300
commita4112fc8babf51c86841f0420367dab31f5ac7db (patch)
tree51c5c897fd90119046844287969509c031c62a9c
parentd303ad47743b2710de6186ed68937e918d7f6270 (diff)
downloadglibc-a4112fc8babf51c86841f0420367dab31f5ac7db.zip
glibc-a4112fc8babf51c86841f0420367dab31f5ac7db.tar.gz
glibc-a4112fc8babf51c86841f0420367dab31f5ac7db.tar.bz2
math: Fix isgreater* and isless* for clang
clang does not check for unordered numbers with builtins for _Float128 type.
-rw-r--r--math/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/math/math.h b/math/math.h
index 1e300c4..e1d266f 100644
--- a/math/math.h
+++ b/math/math.h
@@ -1296,7 +1296,7 @@ iszero (__T __val)
#endif
#ifdef __USE_ISOC99
-# if __GNUC_PREREQ (3, 1)
+# if __GNUC_PREREQ (3, 1) && !defined __clang__
/* ISO C99 defines some macros to compare number while taking care for
unordered numbers. Many FPUs provide special instructions to support
these operations. Generic support in GCC for these as builtins went