diff options
Diffstat (limited to 'src/limits/CHAR_MIN.c')
| -rw-r--r-- | src/limits/CHAR_MIN.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/limits/CHAR_MIN.c b/src/limits/CHAR_MIN.c new file mode 100644 index 00000000..8db46640 --- /dev/null +++ b/src/limits/CHAR_MIN.c @@ -0,0 +1,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) +*/ |
