GMP, C++ formatted output

Torbjorn Granlund tege at swox.com
Tue Jul 18 13:39:56 CEST 2006


"Nameless Apprentice" <cucuforcoffee at gmail.com> writes:

  For instance, 3 characters for the exponents in base 10, and always the same
  number of characters for expressing the mantissa and one for sign. Do any of
  you know how to accomplish this or if there is already a function or utility
  for doing so?

I suppose you need to write a simple interface to mpf_get_str.

-- 
Torbjörn


More information about the gmp-discuss mailing list