9#ifndef __CLANG_STDINT_H
13#if !defined(_AIX) || !defined(_STD_TYPES_T) || !defined(__STDC_HOSTED__)
14#define __CLANG_STDINT_H
20#if __STDC_HOSTED__ && __has_include_next(<stdint.h>)
42# if !defined(__STDC_LIMIT_MACROS)
43# define __STDC_LIMIT_MACROS
44# define __STDC_LIMIT_MACROS_DEFINED_BY_CLANG
46# if !defined(__STDC_CONSTANT_MACROS)
47# define __STDC_CONSTANT_MACROS
48# define __STDC_CONSTANT_MACROS_DEFINED_BY_CLANG
52# include_next <stdint.h>
54# ifdef __STDC_LIMIT_MACROS_DEFINED_BY_CLANG
55# undef __STDC_LIMIT_MACROS
56# undef __STDC_LIMIT_MACROS_DEFINED_BY_CLANG
58# ifdef __STDC_CONSTANT_MACROS_DEFINED_BY_CLANG
59# undef __STDC_CONSTANT_MACROS
60# undef __STDC_CONSTANT_MACROS_DEFINED_BY_CLANG
95# ifndef __int8_t_defined
96typedef __INT64_TYPE__ int64_t;
98typedef __UINT64_TYPE__ uint64_t;
99# undef __int_least64_t
100# define __int_least64_t int64_t
101# undef __uint_least64_t
102# define __uint_least64_t uint64_t
103# undef __int_least32_t
104# define __int_least32_t int64_t
105# undef __uint_least32_t
106# define __uint_least32_t uint64_t
107# undef __int_least16_t
108# define __int_least16_t int64_t
109# undef __uint_least16_t
110# define __uint_least16_t uint64_t
111# undef __int_least8_t
112# define __int_least8_t int64_t
113# undef __uint_least8_t
114# define __uint_least8_t uint64_t
117#ifdef __int_least64_t
118typedef __int_least64_t int_least64_t;
119typedef __uint_least64_t uint_least64_t;
120typedef __int_least64_t int_fast64_t;
121typedef __uint_least64_t uint_fast64_t;
125typedef __INT56_TYPE__ int56_t;
126typedef __UINT56_TYPE__ uint56_t;
127typedef int56_t int_least56_t;
128typedef uint56_t uint_least56_t;
129typedef int56_t int_fast56_t;
130typedef uint56_t uint_fast56_t;
131# undef __int_least32_t
132# define __int_least32_t int56_t
133# undef __uint_least32_t
134# define __uint_least32_t uint56_t
135# undef __int_least16_t
136# define __int_least16_t int56_t
137# undef __uint_least16_t
138# define __uint_least16_t uint56_t
139# undef __int_least8_t
140# define __int_least8_t int56_t
141# undef __uint_least8_t
142# define __uint_least8_t uint56_t
147typedef __INT48_TYPE__ int48_t;
148typedef __UINT48_TYPE__ uint48_t;
149typedef int48_t int_least48_t;
150typedef uint48_t uint_least48_t;
151typedef int48_t int_fast48_t;
152typedef uint48_t uint_fast48_t;
153# undef __int_least32_t
154# define __int_least32_t int48_t
155# undef __uint_least32_t
156# define __uint_least32_t uint48_t
157# undef __int_least16_t
158# define __int_least16_t int48_t
159# undef __uint_least16_t
160# define __uint_least16_t uint48_t
161# undef __int_least8_t
162# define __int_least8_t int48_t
163# undef __uint_least8_t
164# define __uint_least8_t uint48_t
169typedef __INT40_TYPE__ int40_t;
170typedef __UINT40_TYPE__ uint40_t;
171typedef int40_t int_least40_t;
172typedef uint40_t uint_least40_t;
173typedef int40_t int_fast40_t;
174typedef uint40_t uint_fast40_t;
175# undef __int_least32_t
176# define __int_least32_t int40_t
177# undef __uint_least32_t
178# define __uint_least32_t uint40_t
179# undef __int_least16_t
180# define __int_least16_t int40_t
181# undef __uint_least16_t
182# define __uint_least16_t uint40_t
183# undef __int_least8_t
184# define __int_least8_t int40_t
185# undef __uint_least8_t
186# define __uint_least8_t uint40_t
192# ifndef __int8_t_defined
193typedef __INT32_TYPE__ int32_t;
196# ifndef __uint32_t_defined
197# define __uint32_t_defined
198typedef __UINT32_TYPE__ uint32_t;
201# undef __int_least32_t
202# define __int_least32_t int32_t
203# undef __uint_least32_t
204# define __uint_least32_t uint32_t
205# undef __int_least16_t
206# define __int_least16_t int32_t
207# undef __uint_least16_t
208# define __uint_least16_t uint32_t
209# undef __int_least8_t
210# define __int_least8_t int32_t
211# undef __uint_least8_t
212# define __uint_least8_t uint32_t
215#ifdef __int_least32_t
216typedef __int_least32_t int_least32_t;
217typedef __uint_least32_t uint_least32_t;
218typedef __int_least32_t int_fast32_t;
219typedef __uint_least32_t uint_fast32_t;
223typedef __INT24_TYPE__ int24_t;
224typedef __UINT24_TYPE__ uint24_t;
225typedef int24_t int_least24_t;
226typedef uint24_t uint_least24_t;
227typedef int24_t int_fast24_t;
228typedef uint24_t uint_fast24_t;
229# undef __int_least16_t
230# define __int_least16_t int24_t
231# undef __uint_least16_t
232# define __uint_least16_t uint24_t
233# undef __int_least8_t
234# define __int_least8_t int24_t
235# undef __uint_least8_t
236# define __uint_least8_t uint24_t
240#ifndef __int8_t_defined
241typedef __INT16_TYPE__ int16_t;
243typedef __UINT16_TYPE__ uint16_t;
244# undef __int_least16_t
245# define __int_least16_t int16_t
246# undef __uint_least16_t
247# define __uint_least16_t uint16_t
248# undef __int_least8_t
249# define __int_least8_t int16_t
250# undef __uint_least8_t
251# define __uint_least8_t uint16_t
254#ifdef __int_least16_t
255typedef __int_least16_t int_least16_t;
256typedef __uint_least16_t uint_least16_t;
257typedef __int_least16_t int_fast16_t;
258typedef __uint_least16_t uint_fast16_t;
263#ifndef __int8_t_defined
264typedef __INT8_TYPE__ int8_t;
266typedef __UINT8_TYPE__ uint8_t;
267# undef __int_least8_t
268# define __int_least8_t int8_t
269# undef __uint_least8_t
270# define __uint_least8_t uint8_t
274typedef __int_least8_t int_least8_t;
275typedef __uint_least8_t uint_least8_t;
276typedef __int_least8_t int_fast8_t;
277typedef __uint_least8_t uint_fast8_t;
281#ifndef __int8_t_defined
282# define __int8_t_defined
287#define __stdint_join3(a,b,c) a ## b ## c
290#ifndef __intptr_t_defined
292#define __intptr_t_defined
324#define __int_c_join(a, b) a ## b
325#define __int_c(v, suffix) __int_c_join(v, suffix)
326#define __uint_c(v, suffix) __int_c_join(v##U, suffix)
330# undef __int64_c_suffix
331# undef __int32_c_suffix
332# undef __int16_c_suffix
333# undef __int8_c_suffix
334# ifdef __INT64_C_SUFFIX__
335# define __int64_c_suffix __INT64_C_SUFFIX__
336# define __int32_c_suffix __INT64_C_SUFFIX__
337# define __int16_c_suffix __INT64_C_SUFFIX__
338# define __int8_c_suffix __INT64_C_SUFFIX__
342#ifdef __int_least64_t
343# ifdef __int64_c_suffix
344# define INT64_C(v) __int_c(v, __int64_c_suffix)
345# define UINT64_C(v) __uint_c(v, __int64_c_suffix)
348# define UINT64_C(v) v ## U
354# undef __int32_c_suffix
355# undef __int16_c_suffix
356# undef __int8_c_suffix
357# ifdef __INT56_C_SUFFIX__
358# define INT56_C(v) __int_c(v, __INT56_C_SUFFIX__)
359# define UINT56_C(v) __uint_c(v, __INT56_C_SUFFIX__)
360# define __int32_c_suffix __INT56_C_SUFFIX__
361# define __int16_c_suffix __INT56_C_SUFFIX__
362# define __int8_c_suffix __INT56_C_SUFFIX__
365# define UINT56_C(v) v ## U
371# undef __int32_c_suffix
372# undef __int16_c_suffix
373# undef __int8_c_suffix
374# ifdef __INT48_C_SUFFIX__
375# define INT48_C(v) __int_c(v, __INT48_C_SUFFIX__)
376# define UINT48_C(v) __uint_c(v, __INT48_C_SUFFIX__)
377# define __int32_c_suffix __INT48_C_SUFFIX__
378# define __int16_c_suffix __INT48_C_SUFFIX__
379# define __int8_c_suffix __INT48_C_SUFFIX__
382# define UINT48_C(v) v ## U
388# undef __int32_c_suffix
389# undef __int16_c_suffix
390# undef __int8_c_suffix
391# ifdef __INT40_C_SUFFIX__
392# define INT40_C(v) __int_c(v, __INT40_C_SUFFIX__)
393# define UINT40_C(v) __uint_c(v, __INT40_C_SUFFIX__)
394# define __int32_c_suffix __INT40_C_SUFFIX__
395# define __int16_c_suffix __INT40_C_SUFFIX__
396# define __int8_c_suffix __INT40_C_SUFFIX__
399# define UINT40_C(v) v ## U
405# undef __int32_c_suffix
406# undef __int16_c_suffix
407# undef __int8_c_suffix
408# ifdef __INT32_C_SUFFIX__
409# define __int32_c_suffix __INT32_C_SUFFIX__
410# define __int16_c_suffix __INT32_C_SUFFIX__
411# define __int8_c_suffix __INT32_C_SUFFIX__
415#ifdef __int_least32_t
416# ifdef __int32_c_suffix
417# define INT32_C(v) __int_c(v, __int32_c_suffix)
418# define UINT32_C(v) __uint_c(v, __int32_c_suffix)
421# define UINT32_C(v) v ## U
427# undef __int16_c_suffix
428# undef __int8_c_suffix
429# ifdef __INT24_C_SUFFIX__
430# define INT24_C(v) __int_c(v, __INT24_C_SUFFIX__)
431# define UINT24_C(v) __uint_c(v, __INT24_C_SUFFIX__)
432# define __int16_c_suffix __INT24_C_SUFFIX__
433# define __int8_c_suffix __INT24_C_SUFFIX__
436# define UINT24_C(v) v ## U
442# undef __int16_c_suffix
443# undef __int8_c_suffix
444# ifdef __INT16_C_SUFFIX__
445# define __int16_c_suffix __INT16_C_SUFFIX__
446# define __int8_c_suffix __INT16_C_SUFFIX__
450#ifdef __int_least16_t
451# ifdef __int16_c_suffix
452# define INT16_C(v) __int_c(v, __int16_c_suffix)
453# define UINT16_C(v) __uint_c(v, __int16_c_suffix)
456# define UINT16_C(v) v ## U
462# undef __int8_c_suffix
463# ifdef __INT8_C_SUFFIX__
464# define __int8_c_suffix __INT8_C_SUFFIX__
469# ifdef __int8_c_suffix
470# define INT8_C(v) __int_c(v, __int8_c_suffix)
471# define UINT8_C(v) __uint_c(v, __int8_c_suffix)
474# define UINT8_C(v) v ## U
499# define INT64_MAX INT64_C( 9223372036854775807)
500# define INT64_MIN (-INT64_C( 9223372036854775807)-1)
501# define UINT64_MAX UINT64_C(18446744073709551615)
503#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
504# define UINT64_WIDTH 64
505# define INT64_WIDTH UINT64_WIDTH
507# define __UINT_LEAST64_WIDTH UINT64_WIDTH
508# undef __UINT_LEAST32_WIDTH
509# define __UINT_LEAST32_WIDTH UINT64_WIDTH
510# undef __UINT_LEAST16_WIDTH
511# define __UINT_LEAST16_WIDTH UINT64_WIDTH
512# undef __UINT_LEAST8_MAX
513# define __UINT_LEAST8_MAX UINT64_MAX
516# define __INT_LEAST64_MIN INT64_MIN
517# define __INT_LEAST64_MAX INT64_MAX
518# define __UINT_LEAST64_MAX UINT64_MAX
519# undef __INT_LEAST32_MIN
520# define __INT_LEAST32_MIN INT64_MIN
521# undef __INT_LEAST32_MAX
522# define __INT_LEAST32_MAX INT64_MAX
523# undef __UINT_LEAST32_MAX
524# define __UINT_LEAST32_MAX UINT64_MAX
525# undef __INT_LEAST16_MIN
526# define __INT_LEAST16_MIN INT64_MIN
527# undef __INT_LEAST16_MAX
528# define __INT_LEAST16_MAX INT64_MAX
529# undef __UINT_LEAST16_MAX
530# define __UINT_LEAST16_MAX UINT64_MAX
531# undef __INT_LEAST8_MIN
532# define __INT_LEAST8_MIN INT64_MIN
533# undef __INT_LEAST8_MAX
534# define __INT_LEAST8_MAX INT64_MAX
535# undef __UINT_LEAST8_MAX
536# define __UINT_LEAST8_MAX UINT64_MAX
539#ifdef __INT_LEAST64_MIN
540# define INT_LEAST64_MIN __INT_LEAST64_MIN
541# define INT_LEAST64_MAX __INT_LEAST64_MAX
542# define UINT_LEAST64_MAX __UINT_LEAST64_MAX
543# define INT_FAST64_MIN __INT_LEAST64_MIN
544# define INT_FAST64_MAX __INT_LEAST64_MAX
545# define UINT_FAST64_MAX __UINT_LEAST64_MAX
547#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
548# define UINT_LEAST64_WIDTH __UINT_LEAST64_WIDTH
549# define INT_LEAST64_WIDTH UINT_LEAST64_WIDTH
550# define UINT_FAST64_WIDTH __UINT_LEAST64_WIDTH
551# define INT_FAST64_WIDTH UINT_FAST64_WIDTH
557# define INT56_MAX INT56_C(36028797018963967)
558# define INT56_MIN (-INT56_C(36028797018963967)-1)
559# define UINT56_MAX UINT56_C(72057594037927935)
560# define INT_LEAST56_MIN INT56_MIN
561# define INT_LEAST56_MAX INT56_MAX
562# define UINT_LEAST56_MAX UINT56_MAX
563# define INT_FAST56_MIN INT56_MIN
564# define INT_FAST56_MAX INT56_MAX
565# define UINT_FAST56_MAX UINT56_MAX
567# undef __INT_LEAST32_MIN
568# define __INT_LEAST32_MIN INT56_MIN
569# undef __INT_LEAST32_MAX
570# define __INT_LEAST32_MAX INT56_MAX
571# undef __UINT_LEAST32_MAX
572# define __UINT_LEAST32_MAX UINT56_MAX
573# undef __INT_LEAST16_MIN
574# define __INT_LEAST16_MIN INT56_MIN
575# undef __INT_LEAST16_MAX
576# define __INT_LEAST16_MAX INT56_MAX
577# undef __UINT_LEAST16_MAX
578# define __UINT_LEAST16_MAX UINT56_MAX
579# undef __INT_LEAST8_MIN
580# define __INT_LEAST8_MIN INT56_MIN
581# undef __INT_LEAST8_MAX
582# define __INT_LEAST8_MAX INT56_MAX
583# undef __UINT_LEAST8_MAX
584# define __UINT_LEAST8_MAX UINT56_MAX
586#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
587# define UINT56_WIDTH 56
588# define INT56_WIDTH UINT56_WIDTH
589# define UINT_LEAST56_WIDTH UINT56_WIDTH
590# define INT_LEAST56_WIDTH UINT_LEAST56_WIDTH
591# define UINT_FAST56_WIDTH UINT56_WIDTH
592# define INT_FAST56_WIDTH UINT_FAST56_WIDTH
593# undef __UINT_LEAST32_WIDTH
594# define __UINT_LEAST32_WIDTH UINT56_WIDTH
595# undef __UINT_LEAST16_WIDTH
596# define __UINT_LEAST16_WIDTH UINT56_WIDTH
597# undef __UINT_LEAST8_WIDTH
598# define __UINT_LEAST8_WIDTH UINT56_WIDTH
604# define INT48_MAX INT48_C(140737488355327)
605# define INT48_MIN (-INT48_C(140737488355327)-1)
606# define UINT48_MAX UINT48_C(281474976710655)
607# define INT_LEAST48_MIN INT48_MIN
608# define INT_LEAST48_MAX INT48_MAX
609# define UINT_LEAST48_MAX UINT48_MAX
610# define INT_FAST48_MIN INT48_MIN
611# define INT_FAST48_MAX INT48_MAX
612# define UINT_FAST48_MAX UINT48_MAX
614# undef __INT_LEAST32_MIN
615# define __INT_LEAST32_MIN INT48_MIN
616# undef __INT_LEAST32_MAX
617# define __INT_LEAST32_MAX INT48_MAX
618# undef __UINT_LEAST32_MAX
619# define __UINT_LEAST32_MAX UINT48_MAX
620# undef __INT_LEAST16_MIN
621# define __INT_LEAST16_MIN INT48_MIN
622# undef __INT_LEAST16_MAX
623# define __INT_LEAST16_MAX INT48_MAX
624# undef __UINT_LEAST16_MAX
625# define __UINT_LEAST16_MAX UINT48_MAX
626# undef __INT_LEAST8_MIN
627# define __INT_LEAST8_MIN INT48_MIN
628# undef __INT_LEAST8_MAX
629# define __INT_LEAST8_MAX INT48_MAX
630# undef __UINT_LEAST8_MAX
631# define __UINT_LEAST8_MAX UINT48_MAX
633#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
634#define UINT48_WIDTH 48
635#define INT48_WIDTH UINT48_WIDTH
636#define UINT_LEAST48_WIDTH UINT48_WIDTH
637#define INT_LEAST48_WIDTH UINT_LEAST48_WIDTH
638#define UINT_FAST48_WIDTH UINT48_WIDTH
639#define INT_FAST48_WIDTH UINT_FAST48_WIDTH
640#undef __UINT_LEAST32_WIDTH
641#define __UINT_LEAST32_WIDTH UINT48_WIDTH
642# undef __UINT_LEAST16_WIDTH
643#define __UINT_LEAST16_WIDTH UINT48_WIDTH
644# undef __UINT_LEAST8_WIDTH
645#define __UINT_LEAST8_WIDTH UINT48_WIDTH
651# define INT40_MAX INT40_C(549755813887)
652# define INT40_MIN (-INT40_C(549755813887)-1)
653# define UINT40_MAX UINT40_C(1099511627775)
654# define INT_LEAST40_MIN INT40_MIN
655# define INT_LEAST40_MAX INT40_MAX
656# define UINT_LEAST40_MAX UINT40_MAX
657# define INT_FAST40_MIN INT40_MIN
658# define INT_FAST40_MAX INT40_MAX
659# define UINT_FAST40_MAX UINT40_MAX
661# undef __INT_LEAST32_MIN
662# define __INT_LEAST32_MIN INT40_MIN
663# undef __INT_LEAST32_MAX
664# define __INT_LEAST32_MAX INT40_MAX
665# undef __UINT_LEAST32_MAX
666# define __UINT_LEAST32_MAX UINT40_MAX
667# undef __INT_LEAST16_MIN
668# define __INT_LEAST16_MIN INT40_MIN
669# undef __INT_LEAST16_MAX
670# define __INT_LEAST16_MAX INT40_MAX
671# undef __UINT_LEAST16_MAX
672# define __UINT_LEAST16_MAX UINT40_MAX
673# undef __INT_LEAST8_MIN
674# define __INT_LEAST8_MIN INT40_MIN
675# undef __INT_LEAST8_MAX
676# define __INT_LEAST8_MAX INT40_MAX
677# undef __UINT_LEAST8_MAX
678# define __UINT_LEAST8_MAX UINT40_MAX
680#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
681# define UINT40_WIDTH 40
682# define INT40_WIDTH UINT40_WIDTH
683# define UINT_LEAST40_WIDTH UINT40_WIDTH
684# define INT_LEAST40_WIDTH UINT_LEAST40_WIDTH
685# define UINT_FAST40_WIDTH UINT40_WIDTH
686# define INT_FAST40_WIDTH UINT_FAST40_WIDTH
687# undef __UINT_LEAST32_WIDTH
688# define __UINT_LEAST32_WIDTH UINT40_WIDTH
689# undef __UINT_LEAST16_WIDTH
690# define __UINT_LEAST16_WIDTH UINT40_WIDTH
691# undef __UINT_LEAST8_WIDTH
692# define __UINT_LEAST8_WIDTH UINT40_WIDTH
698# define INT32_MAX INT32_C(2147483647)
699# define INT32_MIN (-INT32_C(2147483647)-1)
700# define UINT32_MAX UINT32_C(4294967295)
702# undef __INT_LEAST32_MIN
703# define __INT_LEAST32_MIN INT32_MIN
704# undef __INT_LEAST32_MAX
705# define __INT_LEAST32_MAX INT32_MAX
706# undef __UINT_LEAST32_MAX
707# define __UINT_LEAST32_MAX UINT32_MAX
708# undef __INT_LEAST16_MIN
709# define __INT_LEAST16_MIN INT32_MIN
710# undef __INT_LEAST16_MAX
711# define __INT_LEAST16_MAX INT32_MAX
712# undef __UINT_LEAST16_MAX
713# define __UINT_LEAST16_MAX UINT32_MAX
714# undef __INT_LEAST8_MIN
715# define __INT_LEAST8_MIN INT32_MIN
716# undef __INT_LEAST8_MAX
717# define __INT_LEAST8_MAX INT32_MAX
718# undef __UINT_LEAST8_MAX
719# define __UINT_LEAST8_MAX UINT32_MAX
721#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
722# define UINT32_WIDTH 32
723# define INT32_WIDTH UINT32_WIDTH
724# undef __UINT_LEAST32_WIDTH
725# define __UINT_LEAST32_WIDTH UINT32_WIDTH
726# undef __UINT_LEAST16_WIDTH
727# define __UINT_LEAST16_WIDTH UINT32_WIDTH
728# undef __UINT_LEAST8_WIDTH
729# define __UINT_LEAST8_WIDTH UINT32_WIDTH
733#ifdef __INT_LEAST32_MIN
734# define INT_LEAST32_MIN __INT_LEAST32_MIN
735# define INT_LEAST32_MAX __INT_LEAST32_MAX
736# define UINT_LEAST32_MAX __UINT_LEAST32_MAX
737# define INT_FAST32_MIN __INT_LEAST32_MIN
738# define INT_FAST32_MAX __INT_LEAST32_MAX
739# define UINT_FAST32_MAX __UINT_LEAST32_MAX
741#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
742# define UINT_LEAST32_WIDTH __UINT_LEAST32_WIDTH
743# define INT_LEAST32_WIDTH UINT_LEAST32_WIDTH
744# define UINT_FAST32_WIDTH __UINT_LEAST32_WIDTH
745# define INT_FAST32_WIDTH UINT_FAST32_WIDTH
751# define INT24_MAX INT24_C(8388607)
752# define INT24_MIN (-INT24_C(8388607)-1)
753# define UINT24_MAX UINT24_C(16777215)
754# define INT_LEAST24_MIN INT24_MIN
755# define INT_LEAST24_MAX INT24_MAX
756# define UINT_LEAST24_MAX UINT24_MAX
757# define INT_FAST24_MIN INT24_MIN
758# define INT_FAST24_MAX INT24_MAX
759# define UINT_FAST24_MAX UINT24_MAX
761# undef __INT_LEAST16_MIN
762# define __INT_LEAST16_MIN INT24_MIN
763# undef __INT_LEAST16_MAX
764# define __INT_LEAST16_MAX INT24_MAX
765# undef __UINT_LEAST16_MAX
766# define __UINT_LEAST16_MAX UINT24_MAX
767# undef __INT_LEAST8_MIN
768# define __INT_LEAST8_MIN INT24_MIN
769# undef __INT_LEAST8_MAX
770# define __INT_LEAST8_MAX INT24_MAX
771# undef __UINT_LEAST8_MAX
772# define __UINT_LEAST8_MAX UINT24_MAX
774#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
775# define UINT24_WIDTH 24
776# define INT24_WIDTH UINT24_WIDTH
777# define UINT_LEAST24_WIDTH UINT24_WIDTH
778# define INT_LEAST24_WIDTH UINT_LEAST24_WIDTH
779# define UINT_FAST24_WIDTH UINT24_WIDTH
780# define INT_FAST24_WIDTH UINT_FAST24_WIDTH
781# undef __UINT_LEAST16_WIDTH
782# define __UINT_LEAST16_WIDTH UINT24_WIDTH
783# undef __UINT_LEAST8_WIDTH
784# define __UINT_LEAST8_WIDTH UINT24_WIDTH
790#define INT16_MAX INT16_C(32767)
791#define INT16_MIN (-INT16_C(32767)-1)
792#define UINT16_MAX UINT16_C(65535)
794# undef __INT_LEAST16_MIN
795# define __INT_LEAST16_MIN INT16_MIN
796# undef __INT_LEAST16_MAX
797# define __INT_LEAST16_MAX INT16_MAX
798# undef __UINT_LEAST16_MAX
799# define __UINT_LEAST16_MAX UINT16_MAX
800# undef __INT_LEAST8_MIN
801# define __INT_LEAST8_MIN INT16_MIN
802# undef __INT_LEAST8_MAX
803# define __INT_LEAST8_MAX INT16_MAX
804# undef __UINT_LEAST8_MAX
805# define __UINT_LEAST8_MAX UINT16_MAX
807#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
808# define UINT16_WIDTH 16
809# define INT16_WIDTH UINT16_WIDTH
810# undef __UINT_LEAST16_WIDTH
811# define __UINT_LEAST16_WIDTH UINT16_WIDTH
812# undef __UINT_LEAST8_WIDTH
813# define __UINT_LEAST8_WIDTH UINT16_WIDTH
817#ifdef __INT_LEAST16_MIN
818# define INT_LEAST16_MIN __INT_LEAST16_MIN
819# define INT_LEAST16_MAX __INT_LEAST16_MAX
820# define UINT_LEAST16_MAX __UINT_LEAST16_MAX
821# define INT_FAST16_MIN __INT_LEAST16_MIN
822# define INT_FAST16_MAX __INT_LEAST16_MAX
823# define UINT_FAST16_MAX __UINT_LEAST16_MAX
825#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
826# define UINT_LEAST16_WIDTH __UINT_LEAST16_WIDTH
827# define INT_LEAST16_WIDTH UINT_LEAST16_WIDTH
828# define UINT_FAST16_WIDTH __UINT_LEAST16_WIDTH
829# define INT_FAST16_WIDTH UINT_FAST16_WIDTH
835# define INT8_MAX INT8_C(127)
836# define INT8_MIN (-INT8_C(127)-1)
837# define UINT8_MAX UINT8_C(255)
839# undef __INT_LEAST8_MIN
840# define __INT_LEAST8_MIN INT8_MIN
841# undef __INT_LEAST8_MAX
842# define __INT_LEAST8_MAX INT8_MAX
843# undef __UINT_LEAST8_MAX
844# define __UINT_LEAST8_MAX UINT8_MAX
846#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
847# define UINT8_WIDTH 8
848# define INT8_WIDTH UINT8_WIDTH
849# undef __UINT_LEAST8_WIDTH
850# define __UINT_LEAST8_WIDTH UINT8_WIDTH
854#ifdef __INT_LEAST8_MIN
855# define INT_LEAST8_MIN __INT_LEAST8_MIN
856# define INT_LEAST8_MAX __INT_LEAST8_MAX
857# define UINT_LEAST8_MAX __UINT_LEAST8_MAX
858# define INT_FAST8_MIN __INT_LEAST8_MIN
859# define INT_FAST8_MAX __INT_LEAST8_MAX
860# define UINT_FAST8_MAX __UINT_LEAST8_MAX
862#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
863# define UINT_LEAST8_WIDTH __UINT_LEAST8_WIDTH
864# define INT_LEAST8_WIDTH UINT_LEAST8_WIDTH
865# define UINT_FAST8_WIDTH __UINT_LEAST8_WIDTH
866# define INT_FAST8_WIDTH UINT_FAST8_WIDTH
871#define __INTN_MIN(n) __stdint_join3( INT, n, _MIN)
872#define __INTN_MAX(n) __stdint_join3( INT, n, _MAX)
873#define __UINTN_MAX(n) __stdint_join3(UINT, n, _MAX)
874#define __INTN_C(n, v) __stdint_join3( INT, n, _C(v))
875#define __UINTN_C(n, v) __stdint_join3(UINT, n, _C(v))
880#define INTPTR_MIN (-__INTPTR_MAX__-1)
881#define INTPTR_MAX __INTPTR_MAX__
882#define UINTPTR_MAX __UINTPTR_MAX__
883#define PTRDIFF_MIN (-__PTRDIFF_MAX__-1)
884#define PTRDIFF_MAX __PTRDIFF_MAX__
885#define SIZE_MAX __SIZE_MAX__
888#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
891#define INTPTR_WIDTH __INTPTR_WIDTH__
892#define UINTPTR_WIDTH __UINTPTR_WIDTH__
897#if defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__ >= 1
898#define RSIZE_MAX (SIZE_MAX >> 1)
902#define INTMAX_MIN (-__INTMAX_MAX__-1)
903#define INTMAX_MAX __INTMAX_MAX__
904#define UINTMAX_MAX __UINTMAX_MAX__
907#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
910#define INTMAX_WIDTH __INTMAX_WIDTH__
911#define UINTMAX_WIDTH __UINTMAX_WIDTH__
915#define SIG_ATOMIC_MIN __INTN_MIN(__SIG_ATOMIC_WIDTH__)
916#define SIG_ATOMIC_MAX __INTN_MAX(__SIG_ATOMIC_WIDTH__)
917#ifdef __WINT_UNSIGNED__
918# define WINT_MIN __UINTN_C(__WINT_WIDTH__, 0)
919# define WINT_MAX __UINTN_MAX(__WINT_WIDTH__)
921# define WINT_MIN __INTN_MIN(__WINT_WIDTH__)
922# define WINT_MAX __INTN_MAX(__WINT_WIDTH__)
926# define WCHAR_MAX __WCHAR_MAX__
929# if __WCHAR_MAX__ == __INTN_MAX(__WCHAR_WIDTH__)
930# define WCHAR_MIN __INTN_MIN(__WCHAR_WIDTH__)
932# define WCHAR_MIN __UINTN_C(__WCHAR_WIDTH__, 0)
937#define INTMAX_C(v) __int_c(v, __INTMAX_C_SUFFIX__)
938#define UINTMAX_C(v) __int_c(v, __UINTMAX_C_SUFFIX__)
941#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
942#define PTRDIFF_WIDTH __PTRDIFF_WIDTH__
943#define SIG_ATOMIC_WIDTH __SIG_ATOMIC_WIDTH__
944#define SIZE_WIDTH __SIZE_WIDTH__
945#define WCHAR_WIDTH __WCHAR_WIDTH__
946#define WINT_WIDTH __WINT_WIDTH__
__UINTPTR_TYPE__ uintptr_t
__UINTMAX_TYPE__ uintmax_t