generate exceptions on arithmetic errors
This commit is contained in:
@@ -405,6 +405,11 @@ p_first_signal( USES_REGS1 )
|
||||
case YAP_USR2_SIGNAL:
|
||||
at = AtomSigUsr2;
|
||||
break;
|
||||
#endif
|
||||
#ifdef SIGFPE
|
||||
case YAP_FPE_SIGNAL:
|
||||
at = AtomSigFPE;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user