On Monday, 22 January 2024 at 17:15:55 UTC, bachmeier wrote:
I get incorrect results, and when I'm lucky, my program segfaults because I accessed something I shouldn't. When I'm not, it silently and happily gives me the wrong answer.

Maybe a compiler warning (not error) would help with detecting
the `unsigned into signed` issue, within same size types?

[core.checkedint.negs](https://dlang.org/phobos/core_checkedint.html#.negs) 
probably doesn't help, because `unsigned into signed` is a different issue?

Reply via email to