Movement against float.init being nan

ryuukk_ ryuukk.dev at gmail.com
Wed Aug 24 18:18:05 UTC 2022


On Wednesday, 24 August 2022 at 18:15:53 UTC, ryuukk_ wrote:
> I want to point out that, just like with the GC, it is not the 
> panacea, if you have a NaN in your result, good luck finding 
> what is the root of the issue/bug in your program, or library.. 
> it is during moments like that that i still prefer it being 0 
> by default, so everyone is on the same page

One could say, "well that's a bug anyways, and now you know you 
got a bug in your program", and that's why NaN wins over 0, it's 
annoying, but it is useful

(sorry for 3 successive reply)


More information about the Digitalmars-d mailing list