On 09/13/2016 02:26 PM, Elizabeth Mattijsen wrote: >> On 13 Sep 2016, at 14:15, Timo Paulssen <t...@wakelift.de> wrote: >> >> I'll answer based on the data structures MoarVM uses internally: >> >> On 09/13/2016 05:13 AM, Darren Duncan wrote: >> >>> (Pretend the actual hardware has infinite memory so we wouldn't run >>> out of hardware first.) >>> >>> 1. Maximum size of a (non-machine) integer? >> >> We're using libtommath, which declares the "used" and "alloc" fields of the >> mp_int as "int", iow a 32bit signed (???) integer. > eh, but Int is supposed to be a bigint, only limited by memory, no? > > > Liz
If one big integer is allowed to be 14 gigabytes big (if we use the default of 28 bits per "mp digit"; it's also possible to use 31 or 60.), we can still safely say "limited only by memory" for now.