gmp_printf bug?

Torbjorn Granlund tg at gmplib.org
Wed Jul 20 13:33:11 CEST 2011


Zimmermann Paul <Paul.Zimmermann at loria.fr> writes:

  what is funny is that mpf_dump (which calls mpf_get_str too) gets it right
  for the same input. Is there some explanation?
  
I haven't looked into that, but I am sure there is an explanation.  :-)
(I think I know the explanation, it is related to if the caller
allocates space or if the caller passes NULL.)

-- 
Torbjörn


More information about the gmp-bugs mailing list