Inaccurate/inconsistent output from mpf_out_str

Yihang Ho hoyihang5 at gmail.com
Fri Oct 30 13:44:04 UTC 2015


Ah OK, I see.

Anyway, just to be clear to the maintainers, I did try compiling the sample
code I gave using 6.1.0 RC, and the problem I mentioned can no longer be
observed.

Thanks,
Yihang

On Fri, Oct 30, 2015 at 9:38 PM Leif Leonhardy <not.really at online.de> wrote:

> Yihang Ho wrote:
> > Anyway, just curious, why is this even happening? AFAIK, I didn't have
> > GMP installed (it's a fresh Ubuntu VM). In fact, before make install (or
> > after make uninstall), my code won't even compile. After make install,
> > my code compiles, but says version 6.0.0. After ldconfig, it it goes to
> > 6.0.99. Any idea why 6.0.0 appears in the first place?
>
> Well, you nowadays "always" have some (run-time) version of GMP
> installed... :-) (because GCC needs it since quite a while)
>
> Its headers usually belong to a separate "development package" of GMP,
> so your code won't compile if you uninstall that; the system's run-time
> libraries remain (perhaps unless you uninstall GCC and the like as well
> -- but UNIX always shipped with a C compiler in order to be able to
> [re]compile the kernel).
>
>
> -leif
>
>


More information about the gmp-bugs mailing list