Editions Ideas

Kapendev alexandroskapretsos at gmail.com
Sun Dec 14 21:18:48 UTC 2025


On Sunday, 14 December 2025 at 21:01:20 UTC, monkyyy wrote:
> I understand some airplane surgery theory tells ya to want 
> float.init to be nan; I just see a pile of complexity for 
> trying to meta program, Im aware of like 3 things that make the 
> landscape of d's type theory hard, ieee floats + your thoerys 
> are an as an unforced error as autodecoding is.
>
> Floats being number-y and kinda nullable-y, means my goals of 
> extremely strong api's gets to consider how to combine 
> nullables with bools instead of nullables being a simply a 
> container and segmented completely elsewhere. But nah, we get 
> to merge it all together in a big ball of complexity.

Floats should not work differently based on language. At least 
not for low level ones. Like should `0.0 == 0.1 + 0.2 - 0.3` be 
true too? The float.init thing is debatable, ok ok.

Anyway, what was the topic again of this forum post?


More information about the Digitalmars-d mailing list