57# define __USING_MINT8 1
59# define __USING_MINT8 0
66#if defined(__DOXYGEN__)
125typedef signed int int8_t __attribute__((__mode__(__QI__)));
126typedef unsigned int uint8_t __attribute__((__mode__(__QI__)));
127typedef signed int int16_t __attribute__ ((__mode__ (__HI__)));
128typedef unsigned int uint16_t __attribute__ ((__mode__ (__HI__)));
129typedef signed int int32_t __attribute__ ((__mode__ (__SI__)));
130typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__)));
132typedef signed int int64_t __attribute__((__mode__(__DI__)));
133typedef unsigned int uint64_t __attribute__((__mode__(__DI__)));
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)
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)
int64_t intmax_t
Definition: stdint.h:277
int16_t int_least16_t
Definition: stdint.h:173
unsigned int uint16_t
Definition: stdint.h:93
int64_t int_least64_t
Definition: stdint.h:196
int32_t int_least32_t
Definition: stdint.h:183
uint64_t uintmax_t
Definition: stdint.h:282
uint16_t uintptr_t
Definition: stdint.h:151
unsigned long int uint32_t
Definition: stdint.h:103
uint16_t uint_least16_t
Definition: stdint.h:178
uint16_t uint_fast16_t
Definition: stdint.h:232
uint64_t uint_fast64_t
Definition: stdint.h:257
signed long long int int64_t
Definition: stdint.h:110
int8_t int_fast8_t
Definition: stdint.h:217
uint32_t uint_fast32_t
Definition: stdint.h:242
int32_t int_fast32_t
Definition: stdint.h:237
signed int int16_t
Definition: stdint.h:88
int16_t int_fast16_t
Definition: stdint.h:227
int16_t intptr_t
Definition: stdint.h:146
int8_t int_least8_t
Definition: stdint.h:163
uint64_t uint_least64_t
Definition: stdint.h:203
unsigned char uint8_t
Definition: stdint.h:83
uint32_t uint_least32_t
Definition: stdint.h:188
uint8_t uint_least8_t
Definition: stdint.h:168
uint8_t uint_fast8_t
Definition: stdint.h:222
unsigned long long int uint64_t
Definition: stdint.h:117
signed long int int32_t
Definition: stdint.h:98
signed char int8_t
Definition: stdint.h:78
int64_t int_fast64_t
Definition: stdint.h:250