Internally 64 bit "limbs" are used on Windows 64. However you must be careful when passing arguments to MPIR functions. The unsigned long type is indeed 32 bits. However functions exist that allow you to pass in an unsigned long long on Windows, e.g. mpz_set_ux.
So essentially the answer to your question is "yes". Please let us know if you encounter any problems. Bill. On 3 October 2011 20:05, Jason <[email protected]> wrote: > > ---------- Forwarded Message ---------- > > Subject: Question on long integer > Date: Sunday 02 October 2011, 04:49:58 > From: Rocki Ozaki <[email protected]> > To: "[email protected]" <[email protected]> > > In considering whether to use your MPIR for one of our development, I have a > question that need some specific > answer, and I wonder if you could help me in this regards. > > I have been using the Intel C++ compiler and gnu GMP math library writing a > Windows 64bit application. However > came into a deadlock when I got to know that Windows treat 64 integer by > "long long int" whereas the GMP has > no such type but the normal "long int" covers 64bit operation. Thereby I am > forced to use "long int" and > cannot take advantage of the 64bit power of the CPU. > > The question is, does your library have support for "long long int" that is > defined by Windows for 64bit > integer operation? > > Thanks and best regards > Rocki Ozaki > [email protected] > > ----------------------------------------- > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/mpir-devel?hl=en. > > -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en.
