mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2007-05-09, 14:32   #12
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

That might solve it - or maybe not. On a 64 bit machine, simply using a long int for those variables might do the trick, but I don't really understand the PRAC algorithm yet - it uses floating point approximations to some real constants to control the add/double (double here in the sense of: multiply by two) sequence and those constants in double (data type here) precision might not be enough for multipliers >2^32. If that is the case, we'll pretty much have to rewrite all the PRAC code.

Alex
akruppa is offline   Reply With Quote
Old 2007-05-11, 13:55   #13
Joe O
 
Joe O's Avatar
 
Aug 2002

10158 Posts
Default

Quote:
Originally Posted by akruppa View Post
That might solve it - or maybe not. On a 64 bit machine, simply using a long int for those variables might do the trick, but I don't really understand the PRAC algorithm yet - it uses floating point approximations to some real constants to control the add/double (double here in the sense of: multiply by two) sequence and those constants in double (data type here) precision might not be enough for multipliers >2^32. If that is the case, we'll pretty much have to rewrite all the PRAC code.

Alex
So you are using an "eliptic curve" method instead of Williams' Lucas Sequence. Interesting!

As far as the constants, (so called "magic" numbers") my experience has been that they have to change when going from 2^32 to 2^64, but it all depends on what they really are.
Joe O is offline   Reply With Quote
Old 2007-05-11, 14:29   #14
akruppa
 
akruppa's Avatar
 
"Nancy"
Aug 2002
Alexandria

2,467 Posts
Default

We're merely using PRAC for computing Uk(x) from U1(x) because it uses fewer modular multiplications than the usual binary ladder that keeps both Ui(x) and Ui-1(x) around.

Alex
akruppa is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimize maximum error Joshua2 Homework Help 10 2011-03-15 13:19
Prime95 featured in Maximum PC! ixfd64 Software 10 2010-05-31 15:21
Maximum memory for P-1 in XP 32-bit willmore Software 4 2009-10-14 02:45
Maximum theoretical MPG Mini-Geek Lounge 9 2008-07-14 22:45
cpu not staying at maximum while in Stage 2 jasong GMP-ECM 1 2006-12-18 06:36

All times are UTC. The time now is 23:24.


Fri Aug 6 23:24:10 UTC 2021 up 14 days, 17:53, 1 user, load averages: 4.60, 4.18, 4.08

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.