--- gforth/engine/engine.c 2006/03/11 23:05:09 1.90 +++ gforth/engine/engine.c 2006/10/22 20:45:34 1.93 @@ -97,6 +97,13 @@ extern int gforth_memcmp(const char * s1 #endif #define NEWLINE '\n' +/* 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 */