I have been developing an Eiffel interface to MPIR. I have come across what appears to be a problem. Here is the interface from the pdf documentation for one of the functions:

void mpz_cdiv_q_2exp (mpz t q, mpz t n, mp bitcnt t b)

Here is the interface from mpir.h:

__GMP_DECLSPEC void mpz_cdiv_q __GMP_PROTO ((mpz_ptr, mpz_srcptr, mpz_srcptr));
#define mpz_cdiv_q_2exp __gmpz_cdiv_q_2exp
__GMP_DECLSPEC void mpz_cdiv_q_2exp __GMP_PROTO ((mpz_ptr, mpz_srcptr, unsigned long));

Notice that in the first mp bitcnt t is used whereas in the second unsigned long is used. I’m wondering if I should do anything about this?

Regards
Chris Saunders
--
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com.
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en.

Reply via email to