Jeff Clites <[EMAIL PROTECTED]> wrote:

> The issue turns out to be that SIGFPE isn't raised on Mac OS X on
> divide by zero. If I hack src/core_ops.c to explicitly raise(SIGFPE) in
> the case of zero divisor then the tests pass, so the exception handling
> code seems to be working correctly.

Ah, good take. As Perl5 obviously catches div by 0, we probably need
some Configure test, if a platform signals int div/0.

> I'm not sure of the best way to fix the tests

Could your try float division?

> JEff

leo

Reply via email to