--- gforth/engine/engine.c 2006/03/11 23:05:09 1.90 +++ gforth/engine/engine.c 2006/10/22 16:54:01 1.92 @@ -97,6 +97,14 @@ extern int gforth_memcmp(const char * s1 #endif #define NEWLINE '\n' +#define CELL_MIN (((Cell)1)<<(sizeof(Cell)*CHAR_BIT-1)) +/* set CHECK_DIVISION to 0 if the hardware checks division by zero and + division overflow. Note that not all checks are controlled by + CHECK_DIVISION, in particular not overflow checks in mixed-size + words implemented by C's double-by-double division, because that + division does not signal such overflows. !! make an autoconf test + that sets CHECK_DIVISION */ +#define CHECK_DIVISION 1 /* conversion on fetch */