You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.5 KiB

9 months ago
  1. /* Copyright (C) 1991-2020 Free Software Foundation, Inc.
  2. This file is part of the GNU C Library.
  3. The GNU C Library is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU Lesser General Public
  5. License as published by the Free Software Foundation; either
  6. version 2.1 of the License, or (at your option) any later version.
  7. The GNU C Library is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  10. Lesser General Public License for more details.
  11. You should have received a copy of the GNU Lesser General Public
  12. License along with the GNU C Library; if not, see
  13. <https://www.gnu.org/licenses/>. */
  14. /* This header is separate from features.h so that the compiler can
  15. include it implicitly at the start of every compilation. It must
  16. not itself include <features.h> or any other header that includes
  17. <features.h> because the implicit include comes before any feature
  18. test macros that may be defined in a source file before it first
  19. explicitly includes a system header. GCC knows the name of this
  20. header in order to preinclude it. */
  21. /* glibc's intent is to support the IEC 559 math functionality, real
  22. and complex. If the GCC (4.9 and later) predefined macros
  23. specifying compiler intent are available, use them to determine
  24. whether the overall intent is to support these features; otherwise,
  25. presume an older compiler has intent to support these features and
  26. define these macros by default. */
  27. /* wchar_t uses Unicode 10.0.0. Version 10.0 of the Unicode Standard is
  28. synchronized with ISO/IEC 10646:2017, fifth edition, plus
  29. the following additions from Amendment 1 to the fifth edition:
  30. - 56 emoji characters
  31. - 285 hentaigana
  32. - 3 additional Zanabazar Square characters */
  33. //1
  34. int bitXor(int, int);
  35. int test_bitXor(int, int);
  36. int tmin();
  37. int test_tmin();
  38. //2
  39. int isTmax(int);
  40. int test_isTmax(int);
  41. int allOddBits();
  42. int test_allOddBits();
  43. int negate(int);
  44. int test_negate(int);
  45. //3
  46. int isAsciiDigit(int);
  47. int test_isAsciiDigit(int);
  48. int conditional(int, int, int);
  49. int test_conditional(int, int, int);
  50. int isLessOrEqual(int, int);
  51. int test_isLessOrEqual(int, int);
  52. //4
  53. int logicalNeg(int);
  54. int test_logicalNeg(int);
  55. int howManyBits(int);
  56. int test_howManyBits(int);
  57. //float
  58. unsigned floatScale2(unsigned);
  59. unsigned test_floatScale2(unsigned);
  60. int floatFloat2Int(unsigned);
  61. int test_floatFloat2Int(unsigned);
  62. // #include "floatPower2.c"