mpz_get_str
Di Maria Giovanni
calimero22 at yahoo.it
Mon Nov 15 09:01:02 CET 2010
Please,can you give me an EXAMPLE to convert a number in BASE 128 or 256 or 512?Thank youmpz_export(p,NULL,1,1,1,0,n); ????RegardsGiovanni
--- Dom 14/11/10, Torbjorn Granlund <tg at gmplib.org> ha scritto:
Da: Torbjorn Granlund <tg at gmplib.org>
Oggetto: Re: mpz_get_str
A: "Di Maria Giovanni" <calimero22 at yahoo.it>
Cc: gmp-discuss at gmplib.org
Data: Domenica 14 novembre 2010, 22:34
Di Maria Giovanni <calimero22 at yahoo.it> writes:
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...
You might have missed reading a section in the manual:
http://gmplib.org/manual/Integer-Import-and-Export.html
--
Torbjörn
More information about the gmp-discuss
mailing list