limits.h
Go to the documentation of this file.00001 #ifndef LIMITS_H
00002 #define LIMITS_H 1
00003
00004 FILE_LICENCE ( GPL2_OR_LATER );
00005
00006
00007 #define CHAR_BIT 8
00008
00009
00010 #define SCHAR_MIN (-128)
00011 #define SCHAR_MAX 127
00012
00013
00014 #define UCHAR_MAX 255
00015
00016
00017 #define CHAR_MIN SCHAR_MIN
00018 #define CHAR_MAX SCHAR_MAX
00019
00020
00021 #define SHRT_MIN (-32768)
00022 #define SHRT_MAX 32767
00023
00024
00025 #define USHRT_MAX 65535
00026
00027
00028
00029 #define INT_MIN (-INT_MAX - 1)
00030 #define INT_MAX 2147483647
00031
00032
00033 #define UINT_MAX 4294967295U
00034
00035
00036
00037 #define INT_MAX 2147483647
00038 #define INT_MIN (-INT_MAX - 1)
00039
00040
00041
00042 #define UINT_MAX 4294967295U
00043
00044
00045
00046 #define LONG_MAX 2147483647
00047 #define LONG_MIN (-LONG_MAX - 1L)
00048
00049
00050 #define ULONG_MAX 4294967295UL
00051
00052
00053 #define LLONG_MAX 9223372036854775807LL
00054 #define LLONG_MIN (-LONG_MAX - 1LL)
00055
00056
00057
00058 #define ULLONG_MAX 18446744073709551615ULL
00059
00060
00061 #endif