clang 20.0.0git
Macros
limits.h File Reference

Go to the source code of this file.

Macros

#define SCHAR_MAX   __SCHAR_MAX__
 
#define SHRT_MAX   __SHRT_MAX__
 
#define INT_MAX   __INT_MAX__
 
#define LONG_MAX   __LONG_MAX__
 
#define SCHAR_MIN   (-__SCHAR_MAX__-1)
 
#define SHRT_MIN   (-__SHRT_MAX__ -1)
 
#define INT_MIN   (-__INT_MAX__ -1)
 
#define LONG_MIN   (-__LONG_MAX__ -1L)
 
#define UCHAR_MAX   (__SCHAR_MAX__*2 +1)
 
#define USHRT_MAX   (__SHRT_MAX__ * 2U + 1U)
 
#define UINT_MAX   (__INT_MAX__ *2U +1U)
 
#define ULONG_MAX   (__LONG_MAX__ *2UL+1UL)
 
#define MB_LEN_MAX   1
 
#define CHAR_BIT   __CHAR_BIT__
 
#define CHAR_MIN   SCHAR_MIN
 
#define CHAR_MAX   __SCHAR_MAX__
 
#define LONG_LONG_MAX   __LONG_LONG_MAX__
 
#define LONG_LONG_MIN   (-__LONG_LONG_MAX__-1LL)
 
#define ULONG_LONG_MAX   (__LONG_LONG_MAX__*2ULL+1ULL)
 

Macro Definition Documentation

◆ CHAR_BIT

#define CHAR_BIT   __CHAR_BIT__

Definition at line 71 of file limits.h.

◆ CHAR_MAX

#define CHAR_MAX   __SCHAR_MAX__

Definition at line 96 of file limits.h.

◆ CHAR_MIN

#define CHAR_MIN   SCHAR_MIN

Definition at line 95 of file limits.h.

◆ INT_MAX

#define INT_MAX   __INT_MAX__

Definition at line 50 of file limits.h.

◆ INT_MIN

#define INT_MIN   (-__INT_MAX__ -1)

Definition at line 55 of file limits.h.

◆ LONG_LONG_MAX

#define LONG_LONG_MAX   __LONG_LONG_MAX__

Definition at line 124 of file limits.h.

◆ LONG_LONG_MIN

#define LONG_LONG_MIN   (-__LONG_LONG_MAX__-1LL)

Definition at line 125 of file limits.h.

◆ LONG_MAX

#define LONG_MAX   __LONG_MAX__

Definition at line 51 of file limits.h.

◆ LONG_MIN

#define LONG_MIN   (-__LONG_MAX__ -1L)

Definition at line 56 of file limits.h.

◆ MB_LEN_MAX

#define MB_LEN_MAX   1

Definition at line 68 of file limits.h.

◆ SCHAR_MAX

#define SCHAR_MAX   __SCHAR_MAX__

Definition at line 48 of file limits.h.

◆ SCHAR_MIN

#define SCHAR_MIN   (-__SCHAR_MAX__-1)

Definition at line 53 of file limits.h.

◆ SHRT_MAX

#define SHRT_MAX   __SHRT_MAX__

Definition at line 49 of file limits.h.

◆ SHRT_MIN

#define SHRT_MIN   (-__SHRT_MAX__ -1)

Definition at line 54 of file limits.h.

◆ UCHAR_MAX

#define UCHAR_MAX   (__SCHAR_MAX__*2 +1)

Definition at line 58 of file limits.h.

◆ UINT_MAX

#define UINT_MAX   (__INT_MAX__ *2U +1U)

Definition at line 64 of file limits.h.

◆ ULONG_LONG_MAX

#define ULONG_LONG_MAX   (__LONG_LONG_MAX__*2ULL+1ULL)

Definition at line 126 of file limits.h.

◆ ULONG_MAX

#define ULONG_MAX   (__LONG_MAX__ *2UL+1UL)

Definition at line 65 of file limits.h.

◆ USHRT_MAX

#define USHRT_MAX   (__SHRT_MAX__ * 2U + 1U)

Definition at line 62 of file limits.h.