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-02-09 10:29:18 -0300
commit867d2f27a78e9bc9536107f03a4267756706e444 (patch)
tree467ac47357ff1506939dfaf1d9ea8cfc5c831829
parentaf7dd132ec4be56c61c802edd80c5d31fbbca270 (diff)
downloadglibc-867d2f27a78e9bc9536107f03a4267756706e444.tar
glibc-867d2f27a78e9bc9536107f03a4267756706e444.tar.gz
glibc-867d2f27a78e9bc9536107f03a4267756706e444.tar.bz2
glibc-867d2f27a78e9bc9536107f03a4267756706e444.zip
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 1e300c4223..e1d266f4b3 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