mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2004-12-01, 19:20   #1
amcfarlane
 
amcfarlane's Avatar
 
Nov 2004
UK

2×19 Posts
Default GMP For Delphi

If anyone is interested, I've got GMP (GNU Multiple Precision Arithmetic Library) for Delphi (I'm using 7 Enterprise, but it should'nt matter) available.

I searched for a while, to get this, and finally had to bite the bullet and perform the header conversions manually.

The package is available as:
  • gmp.dll -- The DLL itself (4.0.1)
  • gmpDLL.pas -- The interface unit (mpz_XXX, mpq_XXX and mpf_XXX)
  • gmpClasses -- A very basic and incomplete attempt at an OOPS library on top of GMP

If anyone is interested, PM me...

--
Alan
amcfarlane is offline   Reply With Quote
Old 2004-12-01, 19:58   #2
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

61·79 Posts
Default

Quote:
Originally Posted by amcfarlane
If anyone is interested, I've got GMP (GNU Multiple Precision Arithmetic Library) for Delphi (I'm using 7 Enterprise, but it should'nt matter) available.

I searched for a while, to get this, and finally had to bite the bullet and perform the header conversions manually.

The package is available as:
  • gmp.dll -- The DLL itself (4.0.1)
  • gmpDLL.pas -- The interface unit (mpz_XXX, mpq_XXX and mpf_XXX)
  • gmpClasses -- A very basic and incomplete attempt at an OOPS library on top of GMP

If anyone is interested, PM me...

--
Alan

I AM!!!!

Provided it works on Delphi 5...

Luigi
ET_ is offline   Reply With Quote
Old 2004-12-02, 00:47   #3
ColdFury
 
ColdFury's Avatar
 
Aug 2002

26·5 Posts
Default

4.0.1 has bugs in the FFT code and subtraction code that can result in (rare) wrong computations.
ColdFury is offline   Reply With Quote
Old 2004-12-02, 10:58   #4
amcfarlane
 
amcfarlane's Avatar
 
Nov 2004
UK

3810 Posts
Default

Quote:
Originally Posted by ColdFury
4.0.1 has bugs in the FFT code and subtraction code that can result in (rare) wrong computations.
!

Well, the pascal interface should work, with little or no modification, assuming we can get hold of a different DLL...

I'll post it here later on. BTW, any know of some nice tests that I could run on it?
amcfarlane is offline   Reply With Quote
Old 2004-12-02, 18:46   #5
ColdFury
 
ColdFury's Avatar
 
Aug 2002

5008 Posts
Default

It's not difficult at all to compile a new DLL using MingW. I've done it a number of times.
ColdFury is offline   Reply With Quote
Old 2004-12-03, 09:58   #6
amcfarlane
 
amcfarlane's Avatar
 
Nov 2004
UK

2·19 Posts
Default

I'm glad someone gets MinGW to recompile GMP... Mine always goes belly up - big time.

Darn, I'm having big problems uploading this... If anyone wants the code, please PM me there email address and I'll forward it on.
amcfarlane is offline   Reply With Quote
Old 2004-12-04, 04:51   #7
ColdFury
 
ColdFury's Avatar
 
Aug 2002

26×5 Posts
Default

Can you get the static library to compile?
ColdFury is offline   Reply With Quote
Old 2004-12-07, 02:51   #8
jack
 

608110 Posts
Default

amcfarlane, i am interested in the gmp files for delphi, please check your pm inbox
  Reply With Quote
Old 2004-12-07, 22:15   #9
amcfarlane
 
amcfarlane's Avatar
 
Nov 2004
UK

2·19 Posts
Default

Sorry for the delay folks - I've had some weird problems uploading attachments to this forum or even in simple emails... I'm preparing a simple one page site for all the relevant software which I'll try and get up and running once I've checking this darn puter!

Apologies to anyone who requested copies, but just keep your eyes peeled!
amcfarlane is offline   Reply With Quote
Old 2004-12-08, 01:12   #10
amcfarlane
 
amcfarlane's Avatar
 
Nov 2004
UK

468 Posts
Default

Finally, the software is available (at least in a limited form...) Get it from http://rbe.netfirms.com/.

Any problems, questions, etc, PM me...

Last fiddled with by amcfarlane on 2004-12-08 at 01:13
amcfarlane is offline   Reply With Quote
Old 2004-12-08, 21:11   #11
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

113238 Posts
Default

Quote:
Originally Posted by amcfarlane
Finally, the software is available (at least in a limited form...) Get it from http://rbe.netfirms.com/.

Any problems, questions, etc, PM me...
Thank you!

Disregard my last request on PM

It seems that your host don't allow you to set up files bigger than 256 KB, so the PDF can't be downloaded.

Luigi

Last fiddled with by ET_ on 2004-12-08 at 21:13
ET_ is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 22:07.


Fri Aug 6 22:07:36 UTC 2021 up 14 days, 16:36, 1 user, load averages: 3.73, 3.19, 2.88

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.