 |
AGX Dynamics
2.35.0.1
|
Go to the documentation of this file.
50 #if !defined(_WIN32) || (defined(_WIN32) && _MSC_VER >= 1600)
53 # define __need_wint_t
54 # define __need_wchar_t
58 typedef signed char int8_t;
59 typedef unsigned char uint8_t;
60 typedef short int16_t;
61 typedef unsigned short uint16_t;
63 typedef unsigned uint32_t;
64 typedef long long int64_t;
65 typedef unsigned long long uint64_t;
68 typedef signed char int_least8_t;
69 typedef unsigned char uint_least8_t;
70 typedef short int_least16_t;
71 typedef unsigned short uint_least16_t;
72 typedef int int_least32_t;
73 typedef unsigned uint_least32_t;
74 typedef long long int_least64_t;
75 typedef unsigned long long uint_least64_t;
81 typedef char int_fast8_t;
82 typedef unsigned char uint_fast8_t;
83 typedef short int_fast16_t;
84 typedef unsigned short uint_fast16_t;
85 typedef int int_fast32_t;
86 typedef unsigned int uint_fast32_t;
87 typedef long long int_fast64_t;
88 typedef unsigned long long uint_fast64_t;
91 #ifndef _INTPTR_T_DEFINED
95 #ifndef _UINTPTR_T_DEFINED
96 typedef unsigned uintptr_t;
100 typedef long long intmax_t;
101 typedef unsigned long long uintmax_t;
104 #if !defined ( __cplusplus) || defined (__STDC_LIMIT_MACROS)
107 #define INT8_MIN (-128)
108 #define INT16_MIN (-32768)
109 #define INT32_MIN (-2147483647 - 1)
110 #define INT64_MIN (-9223372036854775807LL - 1)
113 #define INT16_MAX 32767
114 #define INT32_MAX 2147483647
115 #define INT64_MAX 9223372036854775807LL
117 #define UINT8_MAX 0xff
118 #define UINT16_MAX 0xffff
119 #define UINT32_MAX 0xffffffff
120 #define UINT64_MAX 0xffffffffffffffffULL
123 #define INT_LEAST8_MIN INT8_MIN
124 #define INT_LEAST16_MIN INT16_MIN
125 #define INT_LEAST32_MIN INT32_MIN
126 #define INT_LEAST64_MIN INT64_MIN
128 #define INT_LEAST8_MAX INT8_MAX
129 #define INT_LEAST16_MAX INT16_MAX
130 #define INT_LEAST32_MAX INT32_MAX
131 #define INT_LEAST64_MAX INT64_MAX
133 #define UINT_LEAST8_MAX UINT8_MAX
134 #define UINT_LEAST16_MAX UINT16_MAX
135 #define UINT_LEAST32_MAX UINT32_MAX
136 #define UINT_LEAST64_MAX UINT64_MAX
139 #define INT_FAST8_MIN INT8_MIN
140 #define INT_FAST16_MIN INT16_MIN
141 #define INT_FAST32_MIN INT32_MIN
142 #define INT_FAST64_MIN INT64_MIN
144 #define INT_FAST8_MAX INT8_MAX
145 #define INT_FAST16_MAX INT16_MAX
146 #define INT_FAST32_MAX INT32_MAX
147 #define INT_FAST64_MAX INT64_MAX
149 #define UINT_FAST8_MAX UINT8_MAX
150 #define UINT_FAST16_MAX UINT16_MAX
151 #define UINT_FAST32_MAX UINT32_MAX
152 #define UINT_FAST64_MAX UINT64_MAX
156 #define INTPTR_MIN INT32_MIN
157 #define INTPTR_MAX INT32_MAX
158 #define UINTPTR_MAX UINT32_MAX
161 #define INTMAX_MIN INT64_MIN
162 #define INTMAX_MAX INT64_MAX
163 #define UINTMAX_MAX UINT64_MAX
166 #define PTRDIFF_MIN INT32_MIN
167 #define PTRDIFF_MAX INT32_MAX
169 #define SIG_ATOMIC_MIN INT32_MIN
170 #define SIG_ATOMIC_MAX INT32_MAX
172 #define SIZE_MAX UINT32_MAX
176 #define WCHAR_MAX ((wchar_t)-1)
183 #define WINT_MAX ((wint_t)-1)
189 #if !defined ( __cplusplus) || defined (__STDC_CONSTANT_MACROS)
205 #define INT8_C(val) ((int8_t) + (val))
208 #define UINT8_C(val) ((uint8_t) + (val##U))
211 #define INT16_C(val) ((int16_t) + (val))
214 #define UINT16_C(val) ((uint16_t) + (val##U))
218 #define INT32_C(val) val##L
221 #define UINT32_C(val) val##UL
224 #define INT64_C(val) val##LL
227 #define UINT64_C(val) val##ULL
232 #define INTMAX_C(val) INT64_C(val)
235 #define UINTMAX_C(val) UINT64_C(val)