float init 0 request

drug007 drug2004 at bk.ru
Mon Aug 24 10:05:22 UTC 2026


On 8/24/26 12:39, Peter Jacobs wrote:
> I am going speak against this view and, instead, support Walter's take.  
> I have had four decades of experience with numerical calculations and 
> working with reasonably large codes built by small groups of people who 
> have various levels of experience (See the blog entry https:// 
> blog.dlang.org/archive/2022/02/02/a-gas-dynamics-toolkit-in-d/ ).  I 
> find that NaN is a particularly useful value for tracking down coding 
> errors, just as Walter describes.
> 

I second this. Using NaN to initialize floating point types is a really 
great feature of the language.


More information about the Digitalmars-d mailing list