float init 0 request

monkyyy crazymonkyyy at gmail.com
Fri Aug 21 02:56:53 UTC 2026


On Friday, 21 August 2026 at 02:36:38 UTC, Steven Schveighoffer 
wrote:
>> 1. default initialize to 0, because that will be correct most 
>> of the time. Never mind if the flight computer says 18,000 
>> gallons of gas is needed to cross the Atlantic, when 20,000 is 
>> actually needed. But 18,000 looks good, and you take off, get 
>> past the halfway point, and fall out of the sky.
>
> This contrived almost impossible to occur scenario where zero 
> somehow equates to a factor of 2000 which was not caught in 
> testing is not convincing.

Airplane surgery is very complicated.


More information about the Digitalmars-d mailing list