6.17.10 Limits of Fastest Minimum-Width Integer Types

Macros that specify the minimum and maximum limits of the fastest types with specified width declared in <stdint.h>.

Attention: The macros for 24-bit objects are only supported when using PIC devices and MPLAB XC8. The macros for 64-bit objects are not supported when using 8-bit AVR, Baseline, or non-enhanced Mid-range PIC devices with MPLAB XC8.

Include

<stdint.h>

Remarks

Each macro name corresponds to the <stdint.h> type with a similar name. The macro will expand to a constant expression suitable for use in #if preprocessing directives, and this expression shall have the same type as an object of the corresponding type converted according to the integer promotions.

TypeDescription
INT_FAST8_MINMinimum value of fastest signed integer with at least 8 bits width.
INT_FAST8_MAXMaximum value of fastest signed integer with at least 8 bits width.
UINT_FAST8_MAXMaximum value of fastest unsigned integer with at least 8 bits width.
INT_FAST16_MINMinimum value of fastest signed integer with at least 16 bits width.
INT_FAST16_MAXMaximum value of fastest signed integer with at least 16 bits width.
UINT_FAST16_MAXMaximum value of fastest unsigned integer with at least 16 bits width.
INT_FAST24_MINMinimum value of fastest signed integer with at least 24 bits width (see Attention note).
INT_FAST24_MAXMaximum value of fastest signed integer with at least 24 bits width (see Attention note).
UINT_FAST24_MAXMaximum value of fastest unsigned integer with at least 24 bits width (see Attention note).
INT_FAST32_MINMinimum value of fastest signed integer with at least 32 bits width.
INT_FAST32_MAXMaximum value of fastest signed integer with at least 32 bits width.
UINT_FAST32_MAXMaximum value of fastest unsigned integer with at least 32 bits width.
INT_FAST64_MINMinimum value of fastest signed integer with at least 64 bits width (see Attention note).
INT_FAST64_MAXMaximum value of fastest signed integer with at least 64 bits width (see Attention note).
UINT_FAST64_MAXMaximum value of fastest unsigned integer with at least 64 bits width (see Attention note).