![]() |
|
|
#89 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
10110111111102 Posts |
i thought George said somewhere that prime95 uses all integer arithmetic or something like that
|
|
|
|
|
#90 | ||
|
Jun 2003
2·3·7·112 Posts |
Quote:
Quote:
|
||
|
|
|
|
#91 | |
|
Jun 2003
2·3·7·112 Posts |
Quote:
It would be really interesting to benchmark and compare _all_ the versions of P95 on all the CPUs (past and present)
Last fiddled with by axn on 2008-12-01 at 15:48 |
|
|
|
|
|
#92 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
1D6F16 Posts |
The very, very first version in 1995 - never released to the public - used all integer arithmetic. Then I learned about IBDWT and have been using floating point ever since.
|
|
|
|
|
#93 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2·33·109 Posts |
i wonder what it was i was thinking about then?
|
|
|
|
|
#94 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
2·47·101 Posts |
There are parts in George's code that are all integer and are still used, e.g. for Generalized Fermat PRP in openpfgw. If you try
> pfgw -f0 -q"10^8192+1" you will see the message Switching to special GFN DWT logic and the calculations are done in GWIntegers. I haven't read too deep into the source though. Note that this acts as a kludge, and most people never used this part of the source, - because they would enter 10^(2^23)+1 and then gwPRP_GFN is not called (the code expects TWO numbers, no additional parsing). It is also not faster than other methods, unless you stretch the trick and realize that you can change the base until gwPRP_GFN() is actually faster (at least within the framework of pfgw). Here's how I actually checked the GFN(10,23) -- > pfgw -q"10000^2097152+1" Geoff Reynolds used LR (afaik) for a similar task (GFN(12,22) which I DC'd) and the speeds were compatible. (But only if you use a raised base, 12^4, in this case.) Anyway, the point is just that some things can be computed in all integers not just theoretically (and not in spite of common sense). For me it was fun, because I could run it on some old PC which I wouldnt use for anything else - it ran over a month. Here's a homework for someone - implement integer PRP GFN in GPU and test GFN(10,24) and GFN(12,24), all right? Good luck! --Serge |
|
|
|
|
#95 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
... and. therefore, if the not-necessarily-DP-FP information is not to be moved up into the offending paragraph to replace the misleadingly-unconditional declarative statement, then at least there should be a correction and note added, such as:
"... any project that works by multiplying large numbers (LLR, GIMPS) so that the same realization will not escape others. :-) Last fiddled with by cheesehead on 2008-12-02 at 11:36 |
|
|
|
|
#96 | |
|
Tribal Bullet
Oct 2004
3·1,181 Posts |
Quote:
Sheesh. PS: Henry, in the early days there was a lot of dicussion on the GIMPS mailing lists about using NTTs to perform LL tests; perhaps you read that discussion in an archive somewhere? Last fiddled with by jasonp on 2008-12-02 at 15:35 |
|
|
|
|
|
#97 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2×33×109 Posts |
Quote:
it was something i read in the last couple of months possibly in this thread or a similar thread |
|
|
|
|
|
#98 | |
|
"Jason Goatcher"
Mar 2005
3·7·167 Posts |
Quote:
|
|
|
|
|
|
#99 | |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
100101000101102 Posts |
Quote:
Did you ever try Scientific_method? Or you can only retell your friend's stories? |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New PC dedicated to Mersenne Prime Search | Taiy | Hardware | 12 | 2018-01-02 15:54 |
| The prime-crunching on dedicated hardware FAQ (II) | jasonp | Hardware | 46 | 2016-07-18 16:41 |
| How would you design a CPU/GPU for prime number crunching? | emily | Hardware | 4 | 2012-02-20 18:46 |
| DSP hardware for number crunching? | ixfd64 | Hardware | 15 | 2011-08-09 01:11 |
| Optimal Hardware for Dedicated Crunching Computer | Angular | Hardware | 5 | 2004-01-16 12:37 |