mpz_get_str

Di Maria Giovanni calimero22 at yahoo.it
Sun Nov 14 23:18:30 CET 2010


I'd like use an array of integer, to contain a number of digit.In fact i'll convert also to base 512, 1024, 2048, 4096 etc...ThankGiovanni








--- Dom 14/11/10, Sam Rawlins <sam.rawlins at gmail.com> ha scritto:

Da: Sam Rawlins <sam.rawlins at gmail.com>
Oggetto: Re: mpz_get_str
A: "gmp-discuss" <gmp-discuss at gmplib.org>
Data: Domenica 14 novembre 2010, 12:52

On Sun, Nov 14, 2010 at 11:32 AM, Di Maria Giovanni <calimero22 at yahoo.it>wrote:

> Hi
> How can i convert a number in other BASES higher tha limit 62?I have to
> convert a number in base 64, 128, 256, etc.How can i do this, with
> the mpz_get_str function?Thank youRegardsGiovanni
>

What characters do you propose be used to print such a number?

>
>
>
> _______________________________________________
> gmp-discuss mailing list
> gmp-discuss at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-discuss
>



-- 
Sam Rawlins
_______________________________________________
gmp-discuss mailing list
gmp-discuss at gmplib.org
https://gmplib.org/mailman/listinfo/gmp-discuss



      


More information about the gmp-discuss mailing list