Re: [mpir-devel] Bug in mpir.h

2011-03-13 Thread Bill Hart
Ah great. Thanks. On 13 March 2011 18:01, Jason wrote: > On Sunday 13 March 2011 17:46:36 Bill Hart wrote: > > If you build with a strict ANSI C90 compiler it doesn't like the // > > comments. You have to use /* > > > > This was fixed in mpir-2.2.1 , the ECM team pointed it out. > > > On 13 Marc

[mpir-devel] Re: mpz_import in X-MPIR?

2011-03-13 Thread batibix
Ok, moving the question to that thread. -- 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 m

[mpir-devel] website

2011-03-13 Thread Jason
Hi I've updated the website a bit , there is still some more to do , but the old copy is still there under index.html.old if you dont like it. Jason -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to mpir-deve

Re: [mpir-devel] Bug in mpir.h

2011-03-13 Thread Jason
On Sunday 13 March 2011 17:46:36 Bill Hart wrote: > If you build with a strict ANSI C90 compiler it doesn't like the // > comments. You have to use /* > This was fixed in mpir-2.2.1 , the ECM team pointed it out. > On 13 March 2011 14:26, Jason wrote: > > On Tuesday 08 March 2011 20:31:43 Bill

Re: [mpir-devel] Re: Possible bug in mpn_mul

2011-03-13 Thread Bill Hart
OK. There's probably a way to tell valgrind about this so it will ignore this particular error for this particular package. Otherwise it produces lots of warnings. I'll have to look into this. On 13 March 2011 13:36, Jason wrote: > On Sunday 13 March 2011 12:15:07 Jason wrote: > > On Friday 11

Re: [mpir-devel] Bug in mpir.h

2011-03-13 Thread Bill Hart
If you build with a strict ANSI C90 compiler it doesn't like the // comments. You have to use /* On 13 March 2011 14:26, Jason wrote: > On Tuesday 08 March 2011 20:31:43 Bill Hart wrote: > > Hi, > > > > To build mpir with an ANSI standard C compiler, on line 65 of gmp/mpir.h > > > > /*#if define

Re: [mpir-devel] Bug in mpir.h

2011-03-13 Thread Jason
On Tuesday 08 March 2011 20:31:43 Bill Hart wrote: > 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. I dont understand what you mean Jason -- You received this message because you are su

Re: [mpir-devel] Size of mp_bitcnt_t on 64-bit system

2011-03-13 Thread Jason
On Wednesday 09 March 2011 08:00:12 Chris wrote: > I’m wondering what the bit size of a mp_bitcnt_t on a 64-bit system? I’m > working on an Eiffel interface to MPIR and am not sure which Eiffel type to > use as a stand in for a mp_bitcnt_t. > > Regards > Chris Saunders Looking at mpir.h #ifdef

Re: [mpir-devel] mpz_import in X-MPIR?

2011-03-13 Thread Jason
On Tuesday 08 March 2011 15:54:31 batibix wrote: > 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? I'm afraid you will have to ask the developers of X-MPIR , see this thread htt

Re: [mpir-devel] Re: Possible bug in mpn_mul

2011-03-13 Thread Jason
On Sunday 13 March 2011 12:15:07 Jason wrote: > On Friday 11 March 2011 11:46:09 Cactus wrote: > > On Mar 9, 12:35 am, Fredrik Johansson > > > > wrote: > > > Hi, > > > > > > On my system, valgrind detects an invalid read in mpn_mul when the > > > operands have certain sizes. For example, it happ

Re: [mpir-devel] Re: Possible bug in mpn_mul

2011-03-13 Thread Jason
On Friday 11 March 2011 11:46:09 Cactus wrote: > On Mar 9, 12:35 am, Fredrik Johansson > > wrote: > > 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 attachin