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

David Finlayson david.p.finlayson at gmail.com
Sun Apr 1 21:48:20 PDT 2007


Jarrett Billingsley Wrote:


> Maybe it depends on the system?  On Windows I get the error "Integer Divide 
> by Zero". 
> 
> 

My system is:

Digital Mars D Compiler v1.009

running on 

Linux 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
(Ubuntu)

If that combo is up-to-date, then I will try and report a bug. I think the program is dumping core and not emitting a proper exception anyway.

David


More information about the Digitalmars-d-learn mailing list