diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-04-01 16:35:32 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2023-02-09 16:36:05 -0300 |
commit | 1d8bf2430ed01495573dfe13e97168f4f7013a11 (patch) | |
tree | 9637872402f9025feed4d5bee4de02a5ab2452c3 | |
parent | 106f8e63b7a1d69e237bfb585c190f443dae39aa (diff) | |
download | glibc-1d8bf2430ed01495573dfe13e97168f4f7013a11.tar.gz |
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 6dc0604132..db5763ec00 100644 --- a/math/math.h +++ b/math/math.h @@ -1295,7 +1295,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 |