Integer division by zero results in floating-point exception !?

David Finlayson david.p.finlayson at gmail.com
Mon Apr 2 10:18:25 PDT 2007


Johan Granberg Wrote:

> It is probably not an D exception but a unix signal, if I remember corectlly
> unix gives a process the floating point exception signal on divide by 0.

So, is this a bug or a feature? If it is normal, it seems like this undermines the exception mechanism built into the language.




More information about the Digitalmars-d-learn mailing list