Standard library header <climits>
From de.cppreference.net
Dieser Header war ursprünglich in der C-Standardbibliothek als <limits.h> enthalten.
Dieser Header ist Teil der Type-Support -Bibliothek, insbesondere ist er Teil der C-Numerik-Grenzwerte-Schnittstelle .
Makros
|
CHAR_BIT
|
Bitbreite eines Bytes
(Makrokonstante) |
|
MB_LEN_MAX
|
Maximale Anzahl Bytes in einem Multibyte-Zeichen
(Makrokonstante) |
|
CHAR_MIN
|
Minimalwert von
char
(Makrokonstante) |
|
CHAR_MAX
|
Maximalwert von
char
(Makrokonstante) |
|
SCHAR_MIN
SHRT_MIN
INT_MIN
LONG_MIN
LLONG_MIN
(C++11)
|
Minimalwert von
signed
char
,
short
,
int
,
long
und
long
long
entsprechend
(Makrokonstante) |
|
SCHAR_MAX
SHRT_MAX
INT_MAX
LONG_MAX
LLONG_MAX
(C++11)
|
Maximalwert von
signed
char
,
short
,
int
,
long
und
long
long
entsprechend
(Makrokonstante) |
|
UCHAR_MAX
USHRT_MAX
UINT_MAX
ULONG_MAX
ULLONG_MAX
(C++11)
|
Maximalwert von
unsigned
char
,
unsigned
short
,
unsigned
int
,
unsigned long und unsigned long long entsprechend (Makrokonstante) |
Übersicht
// 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 */