+= on associative arrays leads to surprising result

Samir samir at aol.com
Tue Aug 27 16:45:53 UTC 2019


On Tuesday, 27 August 2019 at 16:12:07 UTC, berni wrote:
> What's your oppinion on this?

As someone relatively new to programming in general and to D in 
particular, this behavior does, on the surface, seem 
inconsistent.  Good to see that a bug exists for this, per 
ag0aep6g.

I never understood why the intial value of floats, doubles and 
reals was NaN.

Samir


More information about the Digitalmars-d-learn mailing list