Keil Logo


The limits.h include file defines manifest constants that represent implementation-defined limits on values stored in various data types.

Defined Constant Description
CHAR_BIT Number of bits in any char type.
CHAR_MAX Maximum char value.
CHAR_MIN Minimum char value.
SCHAR_MAX Maximum signed char value.
SCHAR_MIN Minimum signed char value.
UCHAR_MAX Maximum unsigned char value.
SHRT_MAX Maximum short value.
SHRT_MIN Minimum short value.
USHRT_MAX Maximum unsigned short value.
INT_MAX Maximum int value.
INT_MIN Minimum int value.
UINT_MAX Maximum unsigned int value.
LONG_MAX Maximum long value.
LONG_MIN Minimum long value.
ULONG_MAX Maximum unsigned long value.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.