Infinite precision intermediate arithmetic: how much would break?
Rust Internals [Unofficial]
June 9, 2026
mathstuf:
!vdefinitely depends on the bit width. What does one do with!i32::min()otherwise?
!i32::MIN == i32::MAX at every bit width.
mathstuf:
If this is then
&or|with a value, there are questions of what width those operations work at.
!, & and | behave the same at every signed bit width, and Python has them on infinite width. The only issue is that ! automatically wraps on unsigned types.
Discussion in the ATmosphere