External Publication
Visit Post

Infinite precision intermediate arithmetic: how much would break?

Rust Internals [Unofficial] June 9, 2026
Source

toc:

On a more practical level, this would be lovely to have in a const context specifically.

I want a compile-time-only bigint specifically. At compile time doing like Python does and allocating when it gets big would be completely fine. And it would be really nice to just use Foo<const BAR: BigInt> without needing to pick a size at all in places where you don't really care.

Discussion in the ATmosphere

Loading comments...