diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-01 16:35:32 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:41 -0300 |
commit | a4112fc8babf51c86841f0420367dab31f5ac7db (patch) | |
tree | 51c5c897fd90119046844287969509c031c62a9c | |
parent | d303ad47743b2710de6186ed68937e918d7f6270 (diff) | |
download | glibc-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.h | 2 |
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 |