[mpir-devel] Possible bug in mpn_mul

2011-03-08 Thread Fredrik Johansson
Hi, On my system, valgrind detects an invalid read in mpn_mul when the operands have certain sizes. For example, it happens when both operand lengths are 2601 limbs. I'm attaching a test .c program and valgrind output. I just re-ran "make check" to be sure no MPIR tests were failing. System is an

[mpir-devel] Bug in mpir.h

2011-03-08 Thread Bill Hart
Hi, To build mpir with an ANSI standard C compiler, on line 65 of gmp/mpir.h /*#if defined(__GMP_WITHIN_CONFIGURE) && defined(_WIN64)*/ Bill. -- 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@google

[mpir-devel] Re: The 'length of long' issue

2011-03-08 Thread Cactus
On Feb 14, 10:18 am, Jason wrote: > On Sunday 13 February 2011 16:43:47 Cactus wrote: > > > > > > > > > > > [cut previous text] > > > > > Probably the easiest solution on Windows is to simply to express the > > > > integer parameters of ui/si functions (and some internal integers in > > > > the

[mpir-devel] mpz_import in X-MPIR?

2011-03-08 Thread batibix
I've searched through the X-MPIR 0.2 source, but I can't find a binding for mpz_import. Is there another way of converting a byte array to an mpz_t and vice versa? -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email t