[rust-dev] Integer overflow, round -2147483648
danielmicay at gmail.com
Thu Jun 19 12:03:49 PDT 2014
On 19/06/14 03:05 AM, Jerry Morrison wrote:
> BigUint is weird: It can underflow but not overflow. When you use its
> value in a more bounded way you'll need to bounds-check it then, whether
> it can go negative or not. Wouldn't it be easier to discard it than
> squeeze it into the wraparound or checked models?
I don't think we should have a big unsigned integer. It's not something
I've seen other big integer libraries do.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Rust-dev