Contributing to GMP

paul zimmermann Paul.Zimmermann at inria.fr
Thu Feb 20 11:22:49 UTC 2020


> > I have written, as an exercise, a program to compute the Euler-Mascheroni
> > constant (γ) to arbitrary precision using GMP. It's not meant to beat
> > existing programs (like y-cruncher) or anything like it, but it works.
> > Anyway, I had to compute the natural logarithm of a natural number to
> > arbitrary precision, so I wrote a `mpq_log_ui` function to do that,
> > something which GMP doesn't provide.
> >
> > Since this function could be useful in general, for more pratical
> > purposes that computing a constant, I thought about contributing it
> > back. I'm a layman in numerical analysis and I'm not sure the
> > implementation it's up to the GMP standards but I can work on it.
> > So how can I contribute to GMP?

note that GNU MPFR already provides a mpfr_log_ui function, which guarantees
correct rounding. I am curious how your mpq_log_ui compares to mpfr_log_ui.

Paul Zimmermann


More information about the gmp-discuss mailing list