On 8/21/2022 2:00 AM, Dom Disc wrote: > It's no problem to implement saveint so, that int.min stays at that value for > all operations (except direct assignment). Ok, as library this may cost a little > performance, but I think it's worth it. This may be what you're looking for: https://dlang.org/phobos/std_checkedint.html