Floating point types default to NaN?

A Guy With a Question aguywithaquestion at gmail.com
Fri Nov 24 14:30:44 UTC 2017


I would have expected 0 to be the default value. What's the logic 
behind having them being NaN by default?

https://dlang.org/spec/type.html


More information about the Digitalmars-d-learn mailing list