diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 16:14:04 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 16:14:04 -0400 |
| commit | 661f59838235815b5073a0ef95f410003639519e (patch) | |
| tree | 28eb14bc8053bb32abd7c103c4078ab4f81b6129 /src/limits/CHAR_MIN.h | |
| parent | e223e635cc53fa11e473cdbc864eb69a3da5f290 (diff) | |
rename non-compiled files to *.h
Diffstat (limited to 'src/limits/CHAR_MIN.h')
| -rw-r--r-- | src/limits/CHAR_MIN.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/limits/CHAR_MIN.h b/src/limits/CHAR_MIN.h new file mode 100644 index 00000000..791cbbc2 --- /dev/null +++ b/src/limits/CHAR_MIN.h @@ -0,0 +1,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) +*/ |
