I noticed that we still have tests for traditional C varargs.h versus
ISO C90 stdarg.h everywhere a variying # of arguments are used.
Since we cleaned out KR stuff a few years back, we could require
stdarg.h without causing additional portability problems, right?
Torbjörn
Please encrypt, key id
Torbjorn Granlund t...@gmplib.org writes:
Since we cleaned out KR stuff a few years back, we could require
stdarg.h without causing additional portability problems, right?
Right.
There's also some $U left in Makefile.am, which as far as I understand
is a remnant of ansi2knr support.
Regards,
I did a lot of cleanup changes today:
1. All LGPL copyright headers should now have the same layout, except
for file format mandated line prefixes.
2. Old KR varargs config checks and conditional code is now gone.
3. mpq_t now used everywhere in place of the old MP_RAT.
4. The old
Torbjorn Granlund t...@gmplib.org writes:
We have a non-public mpn_invert
function family, which actually computes a fraction. I suggest that we
rename them to something like mpn_finvert* (at least before they are
made public).
In our papers, I think we ended up using the term reciprocal.
Niels,
Here are the division functions I had to re-implement on top of mini-gmp
(I know mpn_divrem is obsolete, but its interface is better suited for
MPFR):
Do you need fraction limbs? From a quick look, it seems like you
implemented that for mpn_divrem_1, but not for