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