The fastest function to write a mpz number in a .txt file

Torbjorn Granlund tege at
Sat Feb 5 19:19:19 CET 2005

"jojo 29" <jojo29118 at> writes:

  I would like to write a mpz number in a .txt file (or a .doc file). What is
  the fastest function to do this? Could you post a little example source code
  (for beginners like me)?
There is a very useful document included with GMP that answers
this and many other GMP-related questions: The GMP manual.

(It is available online too:


More information about the gmp-discuss mailing list