Standard library header <climits>
From es.cppreference.net
Este encabezado estaba originalmente en la biblioteca estándar de C como <limits.h> .
Este encabezado es parte de la biblioteca de soporte de tipos , en particular es parte de la interfaz de límites numéricos de C .
Macros
|
CHAR_BIT
|
ancho de bits del byte
(constante macro) |
|
MB_LEN_MAX
|
número máximo de bytes en un carácter multibyte
(constante macro) |
|
CHAR_MIN
|
valor mínimo de
char
(constante macro) |
|
CHAR_MAX
|
valor máximo de
char
(constante macro) |
|
SCHAR_MIN
SHRT_MIN
INT_MIN
LONG_MIN
LLONG_MIN
(C++11)
|
valor mínimo de
signed
char
,
short
,
int
,
long
y
long
long
respectivamente
(constante macro) |
|
SCHAR_MAX
SHRT_MAX
INT_MAX
LONG_MAX
LLONG_MAX
(C++11)
|
valor máximo de
signed
char
,
short
,
int
,
long
y
long
long
respectivamente
(constante macro) |
|
UCHAR_MAX
USHRT_MAX
UINT_MAX
ULONG_MAX
ULLONG_MAX
(C++11)
|
valor máximo de
unsigned
char
,
unsigned
short
,
unsigned
int
,
unsigned long y unsigned long long respectivamente (constante macro) |
Sinopsis
// all freestanding
#define BOOL_WIDTH /* see description */
#define CHAR_BIT /* see description */
#define CHAR_WIDTH /* see description */
#define SCHAR_WIDTH /* see description */
#define UCHAR_WIDTH /* see description */
#define USHRT_WIDTH /* see description */
#define SHRT_WIDTH /* see description */
#define UINT_WIDTH /* see description */
#define INT_WIDTH /* see description */
#define ULONG_WIDTH /* see description */
#define LONG_WIDTH /* see description */
#define ULLONG_WIDTH /* see description */
#define LLONG_WIDTH /* see description */
#define SCHAR_MIN /* see description */
#define SCHAR_MAX /* see description */
#define UCHAR_MAX /* see description */
#define CHAR_MIN /* see description */
#define CHAR_MAX /* see description */
#define MB_LEN_MAX /* see description */
#define SHRT_MIN /* see description */
#define SHRT_MAX /* see description */
#define USHRT_MAX /* see description */
#define INT_MIN /* see description */
#define INT_MAX /* see description */
#define UINT_MAX /* see description */
#define LONG_MIN /* see description */
#define LONG_MAX /* see description */
#define ULONG_MAX /* see description */
#define LLONG_MIN /* see description */
#define LLONG_MAX /* see description */
#define ULLONG_MAX /* see description */