Division by zero - why no exception?

A Bothe info at alexanderbothe.com
Sun Jan 10 02:16:44 PST 2010


Hey everyone,
I noticed something:

double a=0.0;
double f=1/a;
writeln(f);

... prints 2.66825e-284

normally it shall throw a exception or do something else ... but it doesn't ... why?



More information about the Digitalmars-d mailing list