floatn.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* Macros to control TS 18661-3 glibc features.
  2. Copyright (C) 2017-2019 Free Software Foundation, Inc.
  3. This file is part of the GNU C Library.
  4. The GNU C Library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. The GNU C Library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with the GNU C Library; if not, see
  14. <http://www.gnu.org/licenses/>. */
  15. /* Defined to 1 if the current compiler invocation provides a
  16. floating-point type with the IEEE 754 binary128 format, and this glibc
  17. includes corresponding *f128 interfaces for it. */
  18. #define __HAVE_FLOAT128 0
  19. /* Defined to 1 if __HAVE_FLOAT128 is 1 and the type is ABI-distinct
  20. from the default float, double and long double types in this glibc. */
  21. #define __HAVE_DISTINCT_FLOAT128 0
  22. /* Defined to 1 if the current compiler invocation provides a
  23. floating-point type with the right format for _Float64x, and this
  24. glibc includes corresponding *f64x interfaces for it. */
  25. #define __HAVE_FLOAT64X 0
  26. /* Defined to 1 if __HAVE_FLOAT64X is 1 and _Float64x has the format
  27. of long double. Otherwise, if __HAVE_FLOAT64X is 1, _Float64x has
  28. the format of _Float128, which must be different from that of long
  29. double. */
  30. #define __HAVE_FLOAT64X_LONG_DOUBLE 0
  31. #ifndef __ASSEMBLER__
  32. /* Defined to concatenate the literal suffix to be used with _Float128
  33. types, if __HAVE_FLOAT128 is 1.
  34. E.g.: #define __f128(x) x##f128. */
  35. # undef __f128
  36. /* Defined to a complex binary128 type if __HAVE_FLOAT128 is 1.
  37. E.g.: #define __CFLOAT128 _Complex _Float128. */
  38. # undef __CFLOAT128
  39. #endif /* !__ASSEMBLER__. */
  40. #include <bits/floatn-common.h>