float init 0 request
Kapendev
alexandroskapretsos at gmail.com
Sat Aug 15 14:53:10 UTC 2026
On Saturday, 15 August 2026 at 13:28:42 UTC, monkyyy wrote:
> On Saturday, 15 August 2026 at 04:42:24 UTC, Walter Bright
> wrote:
>> Some outside opinions:
>>
>> https://stackoverflow.com/questions/1036686/is-it-a-good-idea-to-use-ieee754-floating-point-nan-for-values-which-are-not-set
>
> We dont care about outsider theory, our **repeated** *personal*
> **experience** is that nan passed to a graphics api is a no op
> and its one of the slowest thing to debug. adr ran into it on
> camera, steve-l guy teachs kids raylib and sees the repeat
> again and again, etc etc etc etc
>
> C dev's reading a spec and dreaming has less evidential weight
> then a new programmer running into this once.
I agree with this guy 👆🙏
More information about the Digitalmars-d
mailing list