Simulating int arithmetic with wrap-around

Rob Gaddi rgaddi at highlandtechnology.invalid
Tue Jan 3 16:50:26 EST 2017

On 01/03/2017 10:00 PM, Gregory Ewing wrote:
> Paul Rubin wrote:
>> My first thought is towards the struct module, especially if you want to
>> handle a bunch of such integers at the same time.  Or maybe the array
>> module or some combination.
> Or possibly numpy.

Agreed.  If you had to do a lot of calculations on arbitrary sized 
signed/unsigned ints, figuring how to parallelize them into numpy arrays would 
save you a ton of time.

Rob Gaddi, Highland Technology -- Email address 
domain is currently out of order.  See above to fix.

More information about the Python-list mailing list