generate exceptions on arithmetic errors

This commit is contained in:
Vítor Santos Costa
2014-10-15 11:06:07 +01:00
parent a5d0b41f3b
commit 8576e67d84
16 changed files with 215 additions and 127 deletions

View File

@@ -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;