[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Integral type limits

The limits.h header file macros describe the maximum and minimum values of integral types.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


"Integral limits" describes the macros.

Integral limits:

Macro
Description
CHAR_BIT  
Number of bits of smallest object that is not a bit field.  
CHAR_MAX  
Maximum value for an object of type char.  
CHAR_MIN  
Minimum value for an object of type char.  
SCHAR_MAX  
Maximum value for an object of type signed char.  
SCHAR_MIN  
Minimum value for an object of type signed char.  
UCHAR_MAX  
Maximum value for an object of type unsigned char.  
SHRT_MAX  
Maximum value for an object of type short int.  
SHRT_MIN  
Minimum value for an object of type short int.  
USHRT_MAX  
Maximum value for an object of type unsigned short int.  
INT_MAX  
Maximum value for an object of type int.  
INT_MIN  
Minimum value for an object of type int.  
LONG_MAX  
Maximum value for an object of type long int.  
LONG_MIN  
Minimum value for an object of type long int.  
ULONG_MAX  
Maximum value for an object of type unsigned long int.  
MB_LEN_MAX  
Maximum number of bytes in a multibyte character  
LLONG_MIN  
minimum value for an object of type long long int  
LLONG_MAX  
Maximum value for an object of type long long int  
ULLONG_MAX  
Maximum value for an object of type unsigned long long int  


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000