Movement against float.init being nan

Steven Schveighoffer schveiguy at gmail.com
Thu Aug 25 00:03:42 UTC 2022


On 8/24/22 4:07 PM, user1234 wrote:
> On Wednesday, 24 August 2022 at 18:15:53 UTC, 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
> 
> In gdb you can use `select-frame` and inspect the value of locals of the 
> **whole** call stack. Also just `bt` can help as that shows the call 
> args values.
> 
> 

The source may not be in the call stack.

-Steve


More information about the Digitalmars-d mailing list