Interface inconsistency in GMP and MPFR
Jacek Blaszczynski
jacek.blaszczynski at acn.waw.pl
Thu Jul 15 12:41:32 CEST 2004
Hello!
I have run across one inconsistency in MPFR nad GMP libraries, namely,
combined initialization and assignemnt routines are implemented
as functions in GMP while they equivalents are macros in MPFR i.e. int
mpfr_init_set (mpfr_t rop, mpfr_t op, mp_rnd_t rnd) vs. void mpf_init_set
(mpf_t rop, mpf_t op) .
Obviously this leads to several problems while calling this interface.
Are there any plans to have it implemented consistently across both
libraries?
Jacek
More information about the gmp-discuss
mailing list