Converting huge rational numbers to Human-readable decimal number

Torbjorn Granlund tg at swox.com
Sat Nov 22 14:08:39 CET 2008


"GHORBAL Khalil 218205" <khalil.ghorbal at cea.fr> writes:

  I can't easly find a way (a function) to convert huge rational numbers
  (encoded as mpq_t) to Human-readable *exact decimal number* (stored in
  string for example).  I wonder if this is supported by GMP.
  
Please see the manual.  It should need only a few seconds to look this
up, much less than sending an inquiry to a list with hundreds of readers.

-- 
Torbjörn


More information about the gmp-discuss mailing list