Movement against float.init being nan

claptrap clap at trap.com
Tue Aug 23 08:59:28 UTC 2022


On Tuesday, 23 August 2022 at 06:58:44 UTC, drug007 wrote:
> On 8/23/22 02:08, claptrap wrote:
>> On Monday, 22 August 2022 at 15:56:16 UTC, drug007 wrote:
>>> On 8/22/22 18:04, claptrap wrote:
>>>> On Sunday, 21 August 2022 at 17:56:58 UTC, drug007 wrote:
>>>>> On 8/21/22 20:28, claptrap wrote:
>>>>>> On Sunday, 21 August 2022 at 16:51:51 UTC, Walter Bright
>>
>> 
>
> I'm so sorry, but you failed to reread post above carefully 
> again. My point is not all data initialize zero. That is the 
> reason why floating point number should be defaulted as NaN. 
> Because you clearly can see what data hasn't been initialized 
> at all.

This is what you wrote...

"You've initialized all vars to 0 so how do you know that this 
exactly initialization to zero is wrong?"

If you think communicates the same as the paragraph above you've 
got serious communication problems.


>> I've been programming for over 30 years, mostly DSP and some 
>> numerical stuff, statistical analysis. My experience is that 
>> its not a big deal.
>> 
>
> My experience is it is a big deal enough.

OK, maybe you need the help.




More information about the Digitalmars-d mailing list