home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1996 September
/
pcwk_09_96.iso
/
demo
/
wgelectr
/
pk51demo
/
files.2
/
INC
/
LIMITS.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-02-13
|
1KB
|
24 lines
/* LIMITS.H: ANSI standard include file */
/* Copyright KEIL ELEKTRONIK GmbH 1994 V1.00 */
#ifndef _LIMITS_INCLUDED
#define _LIMITS_INCLUDED
#define CHAR_BIT 8 /* Number of bits in any "char" */
#define CHAR_MAX 127 /* Max "char" value */
#define CHAR_MIN (-127) /* Min "char" value */
#define SCHAR_MAX 127 /* Max "signed" "char" value */
#define SCHAR_MIN (-127) /* Min "signed" "char" value */
#define UCHAR_MAX 255 /* Max "unsigned" "char" value */
#define SHRT_MAX 32767 /* Max ("signed") "short" value */
#define SHRT_MIN (-32767) /* Min ("signed") "short" value */
#define USHRT_MAX 0xFFFF /* Max "unsigned" "short" value */
#define INT_MAX 32767 /* Max ("signed") "int" value */
#define INT_MIN (-32767) /* Min ("signed") "int" value */
#define UINT_MAX 0xFFFF /* Max "unsigned" "int" value */
#define LONG_MAX 2147483647 /* Max ("signed") "long" value */
#define LONG_MIN -2147483647 /* Min ("signed") "long" value */
#define ULONG_MAX 0xFFFFFFFF /* Max "unsigned" "long" value */
#endif