gmp_printf bug?

Torbjorn Granlund tg at
Wed Jul 20 16:44:23 CEST 2011

Zimmermann Paul <Paul.Zimmermann at> writes:

  If you want to avoid the division, you can use a 64-bit value for p, and
  a power of two for q.
This is what I suggested in the penultimate message.

(There are some typing problems with this, since umul_ppmm takes limbs,
not mp_size_t or mp_exp_t.  It also takes significant surgery to
implement, inadequate for 5.0.3.)


More information about the gmp-bugs mailing list