56 #if __INT_MAX__ == 127
57 # define __USING_MINT8 1
59 # define __USING_MINT8 0
66 #if defined(__DOXYGEN__)
190 #if !__USING_MINT8 || defined(__DOXYGEN__)
244 #if !__USING_MINT8 || defined(__DOXYGEN__)
290 #define __CONCATenate(left, right) left ## right
291 #define __CONCAT(left, right) __CONCATenate(left, right)
296 #if !defined(__cplusplus) || defined(__STDC_LIMIT_MACROS)
307 #define INT8_MAX 0x7f
312 #define INT8_MIN (-INT8_MAX - 1)
316 #define UINT8_MAX (__CONCAT(INT8_MAX, U) * 2U + 1U)
318 #define INT16_MAX 0x7fffL
319 #define INT16_MIN (-INT16_MAX - 1L)
320 #define UINT16_MAX (__CONCAT(INT16_MAX, U) * 2UL + 1UL)
322 #define INT32_MAX 0x7fffffffLL
323 #define INT32_MIN (-INT32_MAX - 1LL)
324 #define UINT32_MAX (__CONCAT(INT32_MAX, U) * 2ULL + 1ULL)
331 #define UINT8_MAX (INT8_MAX * 2 + 1)
336 #define INT16_MAX 0x7fff
341 #define INT16_MIN (-INT16_MAX - 1)
346 #define UINT16_MAX (__CONCAT(INT16_MAX, U) * 2U + 1U)
351 #define INT32_MAX 0x7fffffffL
356 #define INT32_MIN (-INT32_MAX - 1L)
361 #define UINT32_MAX (__CONCAT(INT32_MAX, U) * 2UL + 1UL)
368 #define INT64_MAX 0x7fffffffffffffffLL
373 #define INT64_MIN (-INT64_MAX - 1LL)
378 #define UINT64_MAX (__CONCAT(INT64_MAX, U) * 2ULL + 1ULL)
388 #define INT_LEAST8_MAX INT8_MAX
393 #define INT_LEAST8_MIN INT8_MIN
398 #define UINT_LEAST8_MAX UINT8_MAX
403 #define INT_LEAST16_MAX INT16_MAX
408 #define INT_LEAST16_MIN INT16_MIN
413 #define UINT_LEAST16_MAX UINT16_MAX
418 #define INT_LEAST32_MAX INT32_MAX
423 #define INT_LEAST32_MIN INT32_MIN
428 #define UINT_LEAST32_MAX UINT32_MAX
433 #define INT_LEAST64_MAX INT64_MAX
438 #define INT_LEAST64_MIN INT64_MIN
443 #define UINT_LEAST64_MAX UINT64_MAX
454 #define INT_FAST8_MAX INT8_MAX
459 #define INT_FAST8_MIN INT8_MIN
464 #define UINT_FAST8_MAX UINT8_MAX
469 #define INT_FAST16_MAX INT16_MAX
474 #define INT_FAST16_MIN INT16_MIN
479 #define UINT_FAST16_MAX UINT16_MAX
484 #define INT_FAST32_MAX INT32_MAX
489 #define INT_FAST32_MIN INT32_MIN
494 #define UINT_FAST32_MAX UINT32_MAX
499 #define INT_FAST64_MAX INT64_MAX
504 #define INT_FAST64_MIN INT64_MIN
509 #define UINT_FAST64_MAX UINT64_MAX
520 #define INTPTR_MAX INT16_MAX
525 #define INTPTR_MIN INT16_MIN
530 #define UINTPTR_MAX UINT16_MAX
541 #define INTMAX_MAX INT64_MAX
546 #define INTMAX_MIN INT64_MIN
551 #define UINTMAX_MAX UINT64_MAX
564 #define PTRDIFF_MAX INT16_MAX
569 #define PTRDIFF_MIN INT16_MIN
578 #define SIG_ATOMIC_MAX INT8_MAX
583 #define SIG_ATOMIC_MIN INT8_MIN
589 #define SIZE_MAX UINT16_MAX
601 #define WCHAR_MAX __WCHAR_MAX__
602 #define WCHAR_MIN __WCHAR_MIN__
605 #define WINT_MAX __WINT_MAX__
606 #define WINT_MIN __WINT_MIN__
612 #if (!defined __cplusplus || __cplusplus >= 201103L \
613 || defined __STDC_CONSTANT_MACROS)
625 #define INT8_C(c) __INT8_C(c)
626 #define INT16_C(c) __INT16_C(c)
627 #define INT32_C(c) __INT32_C(c)
628 #define INT64_C(c) __INT64_C(c)
629 #define UINT8_C(c) __UINT8_C(c)
630 #define UINT16_C(c) __UINT16_C(c)
631 #define UINT32_C(c) __UINT32_C(c)
632 #define UINT64_C(c) __UINT64_C(c)
633 #define INTMAX_C(c) __INTMAX_C(c)
634 #define UINTMAX_C(c) __UINTMAX_C(c)
639 #define INT8_C(value) ((int8_t) value)
644 #define UINT8_C(value) ((uint8_t) __CONCAT(value, U))
648 #define INT16_C(value) __CONCAT(value, L)
649 #define UINT16_C(value) __CONCAT(value, UL)
651 #define INT32_C(value) ((int32_t) __CONCAT(value, LL))
652 #define UINT32_C(value) ((uint32_t) __CONCAT(value, ULL))
659 #define INT16_C(value) value
664 #define UINT16_C(value) __CONCAT(value, U)
669 #define INT32_C(value) __CONCAT(value, L)
674 #define UINT32_C(value) __CONCAT(value, UL)
681 #define INT64_C(value) __CONCAT(value, LL)
686 #define UINT64_C(value) __CONCAT(value, ULL)
691 #define INTMAX_C(value) __CONCAT(value, LL)
696 #define UINTMAX_C(value) __CONCAT(value, ULL)
int16_t intptr_t
Definition: stdint.h:146
signed long long int int64_t
Definition: stdint.h:110
uint64_t uint_least64_t
Definition: stdint.h:203
uint64_t uint_fast64_t
Definition: stdint.h:257
int64_t int_fast64_t
Definition: stdint.h:250
int32_t int_fast32_t
Definition: stdint.h:237
signed int int16_t
Definition: stdint.h:88
signed char int8_t
Definition: stdint.h:78
uint64_t uintmax_t
Definition: stdint.h:282
static __inline void __attribute__((__always_inline__)) __power_all_enable()
Definition: power.h:1148
int32_t int_least32_t
Definition: stdint.h:183
signed long int int32_t
Definition: stdint.h:98
int8_t int_least8_t
Definition: stdint.h:163
int64_t int_least64_t
Definition: stdint.h:196
int8_t int_fast8_t
Definition: stdint.h:217
uint16_t uint_fast16_t
Definition: stdint.h:232
uint16_t uintptr_t
Definition: stdint.h:151
unsigned char uint8_t
Definition: stdint.h:83
unsigned long int uint32_t
Definition: stdint.h:103
uint8_t uint_fast8_t
Definition: stdint.h:222
uint16_t uint_least16_t
Definition: stdint.h:178
uint32_t uint_fast32_t
Definition: stdint.h:242
uint32_t uint_least32_t
Definition: stdint.h:188
unsigned long long int uint64_t
Definition: stdint.h:117
int64_t intmax_t
Definition: stdint.h:277
uint8_t uint_least8_t
Definition: stdint.h:168
int16_t int_least16_t
Definition: stdint.h:173
unsigned int uint16_t
Definition: stdint.h:93
int16_t int_fast16_t
Definition: stdint.h:227