summaryrefslogtreecommitdiff
path: root/src/limits/CHAR_MIN.h
blob: 791cbbc27813c32ae724883f8e0ec53f8186c874 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <limits.h>
#ifdef __CHAR_IS_UNSIGNED__
#define CHAR_MIN                                                             (0)
#else
#define CHAR_MIN                                                          (-128)
#endif

/** char minimum **/

/***
is the minimum value representable as a TYPE(char).
***/

/*
VALUE_SELECT(LITERAL(0), on systems where TYPE(char) is default TYPE(unsigned))
VALUE_SELECT(CONSTANT(SCHAR_MIN), on systems where TYPE(char) is default TYPE(signed))
*/
/*
STDC(1)
*/