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.

Type Description
INT_FAST8_MIN Minimum value of fastest signed integer with at least 8 bits width.
INT_FAST8_MAX Maximum value of fastest signed integer with at least 8 bits width.
UINT_FAST8_MAX Maximum value of fastest unsigned integer with at least 8 bits width.
INT_FAST16_MIN Minimum value of fastest signed integer with at least 16 bits width.
INT_FAST16_MAX Maximum value of fastest signed integer with at least 16 bits width.
UINT_FAST16_MAX Maximum value of fastest unsigned integer with at least 16 bits width.
INT_FAST24_MIN Minimum value of fastest signed integer with at least 24 bits width (see Attention note).
INT_FAST24_MAX Maximum value of fastest signed integer with at least 24 bits width (see Attention note).
UINT_FAST24_MAX Maximum value of fastest unsigned integer with at least 24 bits width (see Attention note).
INT_FAST32_MIN Minimum value of fastest signed integer with at least 32 bits width.
INT_FAST32_MAX Maximum value of fastest signed integer with at least 32 bits width.
UINT_FAST32_MAX Maximum value of fastest unsigned integer with at least 32 bits width.
INT_FAST64_MIN Minimum value of fastest signed integer with at least 64 bits width (see Attention note).
INT_FAST64_MAX Maximum value of fastest signed integer with at least 64 bits width (see Attention note).
UINT_FAST64_MAX Maximum value of fastest unsigned integer with at least 64 bits width (see Attention note).