floats default to NaN... why?
dennis luehring
dl.soluz at gmx.net
Fri Apr 13 22:19:44 PDT 2012
Am 14.04.2012 06:00, schrieb F i L:
> struct Foo {
> int x, y; // ready for use.
> float z, w; // messes things up.
> float r = 0; // almost always...
> }
how often in your code is 0 or 0.0 the real starting point?
i can't think of any situation except counters or something
where 0 is a proper start - and float 0.0 is in very very few cases a
normal start - so whats your point?
More information about the Digitalmars-d-learn
mailing list