float init 0 request
Mindy Batek (0xEAB)
desisma at heidel.beer
Mon Aug 17 13:13:22 UTC 2026
On Friday, 14 August 2026 at 17:54:25 UTC, Walter Bright wrote:
> Consider a scientist setting out an array of data collection
> sensors. If you've got a lot of them, inevitably some will be
> bad. A bad one should not bring down the whole system. Having
> the bad data replaced with NaN will mean the rest of your array
> data will not be corrupted by a stuck-at-zero problem with one
> sensor.
But NaN as default init value is not like a defective sensor
distorting the output with bad data.
It is like a flawed sensor design always feeding the system with
bad data because of a design failure in its circuitry.
More information about the Digitalmars-d
mailing list