float init 0 request

Mindy Batek (0xEAB) desisma at heidel.beer
Sat Aug 15 02:57:28 UTC 2026


On Friday, 14 August 2026 at 17:40:20 UTC, Walter Bright wrote:
> All it takes is one unintentional default initialization of 0.0 
> which leads to a subtle bug in your avionics code, banking 
> software, I-beam design, data analysis, etc.

For graphic applications, it can lead to a minor detail not 
getting rendered, which in turn can be just as subtle as a math 
error.

The assumption that a single NaN would poison the whole output 
only holds for numeric calculations where all data is eventually 
accumulated into one atomic data pool as part of a single (large) 
formula.

> The idea is to make such bugs OBVIOUS, not subtle.

I suspect that would require SIGNALING NaNs.


More information about the Digitalmars-d mailing list