Re: [mpir-devel] Compiling MPIR with Visual Studio 11 Developer Preview...

2011-11-06 Thread Case Van Horsen
On Sun, Nov 6, 2011 at 8:02 AM, Steve sjh_goo...@shic.co.uk wrote: In an attempt to verify some code I've written using MPIR and Visual C++ 2010 Express (which only supports generating 32-bit executables) I downloaded Visual Studio 11 Developer Preview - which gives me access to an effective

Re: [mpir-devel] Re: MPIR support for 64-bit integers on Windows

2011-12-14 Thread Case Van Horsen
On Wed, Dec 14, 2011 at 2:06 PM, Cactus rieman...@gmail.com wrote: I have now got a version of MPIR in which it is possible to set the types of the integers that are used in all the ui/si functions. As usual it was harder than I expected to get this to work but it now passes all the tests on

Re: [mpir-devel] Re: FFT wrapper done

2012-01-15 Thread Case Van Horsen
On Sun, Jan 15, 2012 at 10:34 AM, Cactus rieman...@gmail.com wrote: Thanks for trying this Case - I appreciate your efforts. Unfortunately I don't use Jason's command line build but since it all works in Visual Studio, I would guess that it must be something missing in this build. If it is

Re: [mpir-devel] Re: FFT wrapper done

2012-01-15 Thread Case Van Horsen
On Sun, Jan 15, 2012 at 3:33 PM, Cactus rieman...@gmail.com wrote: Thanks Case - I can reproduce the problem and I will do some work on it with Bill and get a fix as soon as possible. Is this the only test that fails?     Brian I also get a failure on t-locale.c t-locale.c

Re: [mpir-devel] Re: FFT wrapper done

2012-01-15 Thread Case Van Horsen
On Sun, Jan 15, 2012 at 3:38 PM, Case Van Horsen cas...@gmail.com wrote: On Sun, Jan 15, 2012 at 3:33 PM, Cactus rieman...@gmail.com wrote: Thanks Case - I can reproduce the problem and I will do some work on it with Bill and get a fix as soon as possible. Is this the only test that fails

Re: [mpir-devel] Re: FFT wrapper done

2012-01-16 Thread Case Van Horsen
On Mon, Jan 16, 2012 at 1:41 AM, Cactus rieman...@gmail.com wrote: Bill found the problem with the FFT code and I have now uploaded the fix to the mpir-exp branch in the MPIR repository. This fixes the problem for me but I would be grateful if you could check it out. Thanks for the quick

[mpir-devel] Compiler warnings

2012-01-16 Thread Case Van Horsen
Hi, I've compiled Brian's mpir-exp branch with the VS2008 SDK and a modified configure.bat/make.bat. I changed the warning level to /W3 and examined some of the warnings. The first three warnings I examined are: 1) mpn_addsub_n is defined to return int but the returned value 'ret' is defined as

Re: [mpir-devel] Updates to the MPIR-EXP branch

2012-01-19 Thread Case Van Horsen
On Thu, Jan 19, 2012 at 2:00 AM, Cactus rieman...@gmail.com wrote: I have corrected a minor bug and made several cosmetic updates to the MPIR-EXP branch. If Case can let me have the updates needed for the mpir-exp command line build, I will add these to the SVN. I will send my updates this

Re: [mpir-devel] 64-bit integer support in MPIR on Windows x64

2012-01-19 Thread Case Van Horsen
On Tue, Jan 10, 2012 at 10:31 AM, Cactus rieman...@gmail.com wrote: For some weeks now I have had an early version of an MPIR for WIndows x64 in which the GMP/MPIR integer interface (the ui/si functions) uses 64-bit integers rather than the 32-bit longs that would normally be used.  This

Re: [mpir-devel] Updates to the MPIR-EXP branch

2012-01-23 Thread Case Van Horsen
On Thu, Jan 19, 2012 at 5:31 PM, Case Van Horsen cas...@gmail.com wrote: On Thu, Jan 19, 2012 at 8:16 AM, Case Van Horsen cas...@gmail.com wrote: On Thu, Jan 19, 2012 at 2:00 AM, Cactus rieman...@gmail.com wrote: I have corrected a minor bug and made several cosmetic updates to the MPIR-EXP

Re: [mpir-devel] Updates to the MPIR-EXP branch

2012-01-24 Thread Case Van Horsen
On Tue, Jan 24, 2012 at 1:43 AM, Cactus rieman...@gmail.com wrote: Hi Case, I think the ability to build using any of the compilers you mention would be a good addition.   Jason maintains the command line build so the changes would need to go to him. I'll send copies to Jason when I'm

Re: [mpir-devel] Updates to the MPIR-EXP branch

2012-01-24 Thread Case Van Horsen
On Tue, Jan 24, 2012 at 5:59 AM, Cactus rieman...@gmail.com wrote: To reinforce that these new types are MPIR specific, should they be called mpir_ui/mpir_si? I had exactly the same idea a few days ago - I am inclined to do this. A couple more ideas... Can we define a macro (HAVE_MPIR_SI ?)

Re: [mpir-devel] Updates to the MPIR-EXP branch

2012-01-24 Thread Case Van Horsen
On Tue, Jan 24, 2012 at 9:26 AM, Cactus rieman...@gmail.com wrote: On Tue, 24 Jan 2012 07:37:09 -0800 Case Van Horsen On Tue, Jan 24, 2012 at 5:59 AM, Cactus wrote: To reinforce that these new types are MPIR specific, should they be called mpir_ui/mpir_si? I had exactly the same idea

[mpir-devel] make tune failure in mpir-exp branch

2012-01-27 Thread Case Van Horsen
Hi, I tested the mpir-exp branch, r3823, on an up-to-date Fedora 16 x64 system. The GCC version is: gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1) Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for

[mpir-devel] tuneup fails on mpir-exp branch

2012-05-21 Thread Case Van Horsen
Building on Fedora Core 17 x64, GCC 4.7.0. I get this error when running tuneup: #define INV_DIVAPPR_Q_THRESHOLD 13280 #define DC_BDIV_QR_THRESHOLD *** glibc detected *** ./tuneup: free(): invalid next size (normal): 0x025a0a90 *** *** glibc detected *** ./tuneup:

Re: [mpir-devel] Re: Question about mpz_powm usage

2012-06-24 Thread Case Van Horsen
On Sun, Jun 24, 2012 at 2:21 PM, michael85 todormi...@gmail.com wrote: There's a small copy / paste gone wrong issue in the code: mpz_powm_ui(out, x, -1UL, n). Unfortunately, even after I remove the UL, the behavior is the same. You can't pass a negative value as an unsigned long parameter.

Re: [mpir-devel] where can I find an mpir build for vs2008?

2012-07-06 Thread Case Van Horsen
On Fri, Jul 6, 2012 at 3:30 PM, Anil anil.r...@gmail.com wrote: I was getting errors for this lib https://www.dlitz.net/software/pycrypto/doc/ and so I want to build mpir. However, trying to follow these instructions

[mpir-devel] Status of MPIR development

2012-07-11 Thread Case Van Horsen
Hello, Several months ago, Brian created an experimental branch (mpir-exp) that included support for 64-bit native integers in the API on the 64-bit Windows platform. He also integrated the start of a promising new FFT implementation. I updated gmpy2 to use Brian's experimental branch. With the

Re: [mpir-devel] Status of MPIR development

2012-07-12 Thread Case Van Horsen
reply. Case On 12 July 2012 03:33, Case Van Horsen cas...@gmail.com wrote: Hello, Several months ago, Brian created an experimental branch (mpir-exp) that included support for 64-bit native integers in the API on the 64-bit Windows platform. He also integrated the start of a promising new

Re: [mpir-devel] Possible Issue with the Windows command lIne build?

2012-09-28 Thread Case Van Horsen
On Fri, Sep 28, 2012 at 2:09 AM, Cactus rieman...@gmail.com wrote: As far as I can tell, the Windows command line build relies on a file (cfg.h) in each of the mpn assembler directories. This file holds a list of the assembler files in the directory But there is a potential problem here

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-01 Thread Case Van Horsen
On Sun, Sep 30, 2012 at 10:30 AM, Brian Gladman b...@gladman.plus.com wrote: -Original Message- From: Bill Hart Sent: Friday, September 28, 2012 11:13 PM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel] Re: MPIR 2.6 release progress On 28 September 2012 22:15, Brian Gladman

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-02 Thread Case Van Horsen
On Mon, Oct 1, 2012 at 8:27 AM, Case Van Horsen cas...@gmail.com wrote: On Sun, Sep 30, 2012 at 10:30 AM, Brian Gladman b...@gladman.plus.com wrote: -Original Message- From: Bill Hart Sent: Friday, September 28, 2012 11:13 PM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-03 Thread Case Van Horsen
On Tue, Oct 2, 2012 at 1:36 AM, Brian Gladman b...@gladman.plus.com wrote: -Original Message- From: Case Van Horsen Sent: Tuesday, October 02, 2012 7:43 AM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel] Re: MPIR 2.6 release progress [snip] Interesting. If I use ABI=64

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-03 Thread Case Van Horsen
On Wed, Oct 3, 2012 at 7:49 AM, Brian Gladman b...@gladman.plus.com wrote: -Original Message- From: Bill Hart Sent: Wednesday, October 03, 2012 3:25 PM To: mpir-devel@googlegroups.com Subject: Re: [mpir-devel] Re: MPIR 2.6 release progress I definitely don't think option 3 will

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-03 Thread Case Van Horsen
On Wed, Oct 3, 2012 at 2:34 PM, Bill Hart goodwillh...@googlemail.com wrote: Where is the file make.bat located? In the win directory. I'm testing by doing the following: cd mpir\win configure ABI=32 --cpu=pentium3 make make check Bill. On 3 October 2012 15:49, Brian Gladman

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-03 Thread Case Van Horsen
On Wed, Oct 3, 2012 at 4:27 PM, Bill Hart goodwillh...@googlemail.com wrote: Ah, I see. I'm slowly catching up. Perhaps the problem is that the .asm files don't all provide the same symbols. Some may provide one of the symbols, others both. The general configure yoga in the *nix side of

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-04 Thread Case Van Horsen
On Thu, Oct 4, 2012 at 8:08 AM, Case Van Horsen cas...@gmail.com wrote: On Thu, Oct 4, 2012 at 7:48 AM, Bill Hart goodwillh...@googlemail.com wrote: I've gone through all the files and there are only the two extra symbols defined in mulfunc asm files which aren't provided by generic code. I

Re: [mpir-devel] Re: MPIR 2.6 release progress

2012-10-04 Thread Case Van Horsen
On Thu, Oct 4, 2012 at 7:36 PM, Case Van Horsen cas...@gmail.com wrote: On Thu, Oct 4, 2012 at 8:08 AM, Case Van Horsen cas...@gmail.com wrote: On Thu, Oct 4, 2012 at 7:48 AM, Bill Hart goodwillh...@googlemail.com wrote: I've gone through all the files and there are only the two extra

Re: [mpir-devel] Re: MPIR 2.6.0 alpha1 released

2012-10-08 Thread Case Van Horsen
Bill Hart wrote: Hi all, It is with pleasure that we release MPIR 2.6.0 alpha1. The source and documentation can be downloaded at http://mpir.org/ This release contains a new FFT, support for intmax_t integers, a Python build generator and various bug fixes. The alpha version has been

Re: [mpir-devel] MPIR 2.6.0 alpha4

2012-10-22 Thread Case Van Horsen
On Sun, Oct 21, 2012 at 10:15 AM, Bill Hart goodwillh...@googlemail.com wrote: Hi all, I have just uploaded alpha4 to our website http://mpir.org/ This will hopefully be the last alpha. It merely adds a patch to speed up the FFT slightly in certain instances. Testing can now begin in

Re: [mpir-devel] MPIR 2.6.0 beta released

2012-10-25 Thread Case Van Horsen
On Thu, Oct 25, 2012 at 6:36 PM, Dann Corbit dcor...@connx.com wrote: I was able to build the dll and static libraries. However, when I try to build the mpir-tests project, I get many errors like this: 120Time Elapsed 00:00:00 119C:\Program Files

Re: [mpir-devel] MPIR 2.6.0 beta released

2012-10-25 Thread Case Van Horsen
On Thu, Oct 25, 2012 at 9:00 PM, Case Van Horsen cas...@gmail.com wrote: On Thu, Oct 25, 2012 at 6:36 PM, Dann Corbit dcor...@connx.com wrote: I was able to build the dll and static libraries. However, when I try to build the mpir-tests project, I get many errors like this: 120Time Elapsed

Re: [mpir-devel] modular arithmetic on big numbers

2013-02-03 Thread Case Van Horsen
On Sun, Feb 3, 2013 at 12:48 PM, mgundes mg...@hotmail.com wrote: Hi everybody, I need a function to do modular operation on big numbers. I found mpn_mod_1() but its modulus parameter are single mp_limb_t. I want to use also big modulus parameter, Is there any function

Re: [mpir-devel] Windows Binary Builds and Distribution

2013-02-18 Thread Case Van Horsen
On Mon, Feb 18, 2013 at 7:28 AM, Brian Gladman b...@gladman.plus.com wrote: On 18/02/2013 09:56, Gilbert wrote: Hi everyone, Thanks for maintaining MPIR! I'm currently working on bringing my geometry library for Boolean/CSG operations up to snuff: https://github.com/gilbo/cork The library

Re: [mpir-devel] MPIR with Visual Studio Express

2014-03-28 Thread Case Van Horsen
On Fri, Mar 28, 2014 at 11:25 AM, Brian Gladman b...@gladman.plus.com wrote: On 28/03/2014 18:13, Bill Hart wrote: Three comments/questions: * I'd like to remove the win directory (with configure.bat and make.bat), since these are no longer maintained and broken. Then I can just declare the