[Ecls-list] Loop when dividing by 0

Alexander Gavrilov angavrilov at gmail.com
Sun Oct 11 08:52:17 UTC 2009


> ECL 9.10.2 build fine on 64-bit Debian Lenny.  However, typing
> 
> (TRUNCATE 1 0)
> 
> apparently enters into infinite loop.

That's because it signals an integer division exception
using SIGFPE, which is then arbitrarily ignored because
floating point exceptions are not explicitly enabled.
Thus the same code is executed again and again.

This does not happen with "ecl --trap-fpe"

Alexander




More information about the ecl-devel mailing list