From 661f59838235815b5073a0ef95f410003639519e Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sun, 16 Aug 2020 16:14:04 -0400 Subject: rename non-compiled files to *.h --- src/limits/CHAR_MIN.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/limits/CHAR_MIN.h (limited to 'src/limits/CHAR_MIN.h') 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 +#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) +*/ -- cgit v1.2.1