4 #include <grass/calc.h>
15 static void handle_fpe(
int n UNUSED)
27 act.sa_handler = &handle_fpe;
29 sigemptyset(&act.sa_mask);
31 sigaction(SIGFPE, &act,
NULL);
44 act.sa_handler = SIG_DFL;
46 sigemptyset(&act.sa_mask);
48 sigaction(SIGFPE, &act,
NULL);
volatile int floating_point_exception
volatile int floating_point_exception_occurred