summaryrefslogtreecommitdiff
path: root/src/limits/CHAR_MIN.c
blob: 8db466402d8c5051bb3e32ba858ab8178d57e932 (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_SIGNED
#define CHAR_MIN                                                          (-128)
#else
#define CHAR_MIN                                                             (0)
#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)
*/