Lars T. Kyllingstad wrote: > I've found what I believe to be a pretty serious bug in DMD (I've tried > it with DMD 2.031): > > enum real ONE = 1.0; > for (real x=0.0; x<=10.0; x+=ONE) writeln(x); > > The above loops only once, printing "0". By the way: x becomes NaN after the first iteration, which is why the loop ends. -Lars