why is the default floating point value NAN ?

Codifies a at b.com
Wed Oct 17 15:51:21 UTC 2018


On Wednesday, 17 October 2018 at 15:48:16 UTC, Codifies wrote:
> I'd have thought it ought to be 0.0 ?
>
> So far I seen carefully considered and sensible reasons for 
> doing things in D, so why NAN ?

okay I should have carried on reading the blog, its so 
uninitialized values stick out when debugging...


More information about the Digitalmars-d-learn mailing list