integer size

Sam Rawlins sam.rawlins at gmail.com
Thu Sep 30 18:33:06 CEST 2010


On Thu, Sep 30, 2010 at 12:13 AM, Ron Croonenberg <ron.croonenberg at gmail.com
> wrote:

> sorry about the late reaction.
>
> I checked that section,  however it says "Return the size of 'op' measured
> in number of digits in the given base"
>
> However that is not what I want to know.  I want to know if I use an
> mpz_t integer what it's actual size (in bytes) in memory is, not the number
> of digits it has in a certain base.
>

There is also mpz_size under Integer Special Functions and GMP_LIMB_BITS at
the bottom of Low-level Functions.

>
>
> Ron
>
>
-- 
Sam Rawlins


More information about the gmp-discuss mailing list