View Single Post
Old 2007-05-27, 06:34   #26
Citrix's Avatar
Jun 2003

32×52×7 Posts

Hi Geoff,
I tried to compile the sieve file so I could implement the cutoff method.
1) I changed the LCM value to 360*7*11. This seems to be the fastest.
2) in file bsgs.c, in function uint32_t setup64(uint64_t p), I wanted to add the following code. I tried returning j=0, so that the program would ignore this prime, but it did not work. What am I doing wrong? Could you please implement the following code and compile it.


code attached. (Look at it with word wrap off)
Attached Files
File Type: txt code.txt (11.8 KB, 90 views)
Citrix is offline   Reply With Quote