float init 0 request

Guillaume Piolat first.name at gmail.com
Mon Aug 24 10:34:02 UTC 2026


On Monday, 24 August 2026 at 10:05:22 UTC, drug007 wrote:
> 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.

+1
Get over it...


More information about the Digitalmars-d mailing list