Movement against float.init being nan

Walter Bright newshound2 at digitalmars.com
Thu Aug 25 00:58:03 UTC 2022


On 8/24/2022 11:15 AM, 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

I can't think of a case where a 0 is easier to track back to its origin.


More information about the Digitalmars-d mailing list