Standard C Libraries -. More...
Go to the source code of this file.
Macros | |
#define | CHAR_BIT 8 |
#define | CHAR_MAX SCHAR_MAX |
#define | CHAR_MIN SCHAR_MIN |
#define | INT_MAX SHRT_MAX |
#define | INT_MIN SHRT_MIN |
#define | LLONG_MAX 0x7fffffffffffffffLL |
#define | LLONG_MIN (-LLONG_MAX -1) |
#define | LONG_MAX 0x7fffffff |
#define | LONG_MIN (-LONG_MAX -1) |
#define | MB_LEN_MAX 1 |
#define | SCHAR_MAX 0x7f |
#define | SCHAR_MIN (-SCHAR_MAX -1) |
#define | SHRT_MAX 0x7fff |
#define | SHRT_MIN (-SHRT_MAX -1) |
#define | UCHAR_MAX 0xff |
#define | UINT_MAX USHRT_MAX |
#define | ULLONG_MAX 0xffffffffffffffffULL |
#define | ULONG_MAX 0xffffffffU |
#define | USHRT_MAX 0xffff |
Standard C Libraries -.
The header file, limits.h, consists of macros that define the minimum and maximum values of integer types. Each of these macros can be used in 'if' preprocessing directives.
The documentation in this header file has been copied from the documentation provided with the Microchip MPLAB XC16 compiler. The original license agreement included with the XC16 compiler applies!
#define CHAR_BIT 8 |
#define LLONG_MAX 0x7fffffffffffffffLL |
#define LLONG_MIN (-LLONG_MAX -1) |
#define LONG_MAX 0x7fffffff |
#define LONG_MIN (-LONG_MAX -1) |
#define MB_LEN_MAX 1 |
#define SCHAR_MAX 0x7f |
#define SCHAR_MIN (-SCHAR_MAX -1) |
#define SHRT_MAX 0x7fff |
#define SHRT_MIN (-SHRT_MAX -1) |
#define UCHAR_MAX 0xff |
#define UINT_MAX USHRT_MAX |
#define ULLONG_MAX 0xffffffffffffffffULL |
Description: Maximum value of a long long unsigned int.
Include: <limits.h>
Value: 18446744073709551615
#define ULONG_MAX 0xffffffffU |
#define USHRT_MAX 0xffff |