limits - #define INT_MAX 2147483647 #define INT_MIN...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#ifndef __LIB_LIMITS_H #define __LIB_LIMITS_H #define CHAR_BIT 8 #define SCHAR_MAX 127 #define SCHAR_MIN (-SCHAR_MAX - 1) #define UCHAR_MAX 255 #ifdef __CHAR_UNSIGNED__ #define CHAR_MIN 0 #define CHAR_MAX UCHAR_MAX #else #define CHAR_MIN SCHAR_MIN #define CHAR_MAX SCHAR_MAX #endif #define SHRT_MAX 32767 #define SHRT_MIN (-SHRT_MAX - 1) #define USHRT_MAX 65535
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: #define INT_MAX 2147483647 #define INT_MIN (-INT_MAX - 1) #define UINT_MAX 4294967295U #define LONG_MAX 2147483647L #define LONG_MIN (-LONG_MAX - 1) #define ULONG_MAX 4294967295UL #define LLONG_MAX 9223372036854775807LL #define LLONG_MIN (-LLONG_MAX - 1) #define ULLONG_MAX 18446744073709551615ULL #endif /* lib/limits.h */...
View Full Document

Ask a homework question - tutors are online