Marc Glisse marc.glisse at inria.fr
Fri Dec 3 16:07:42 CET 2010

On Fri, 3 Dec 2010, Di Maria Giovanni wrote:

> I need to implement (in GMP) the DigitCount function (of Wolfram Mathematica software), but it should be much faster.
> Who can help me?


what's wrong with the answer you got in March? (use mpz_get_str then 
count, assuming the base is <=62)

Do you have a specific algorithm in mind that you would like to use?

Marc Glisse

More information about the gmp-discuss mailing list