mersenneforum.org  

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

Reply
 
Thread Tools
Old 2003-07-25, 19:56   #1
Zenmastur
 
Jul 2003

1 Posts
Default Problem with Newpgen

I'm running Newpgen Ver. 2.81 when ever the divisor exceeds 2^32-1 the program performs performs an illegal operation and dies. I'm running a 1.4Ghz Athlon that passes the Prime95 torture test.

Anyone have any sugestions as to why this might happen?
Zenmastur is offline   Reply With Quote
Old 2003-07-27, 20:02   #2
QuintLeo
 
QuintLeo's Avatar
 
Oct 2002
Lost in the hills of Iowa

44810 Posts
Default

I suspect that your NEWPGEN program might be programmed to use unsigned INTs - which have a hard limit at 32 bits - at some point internally.

You might try asking the author if there's an update to handle longer exponents.
QuintLeo is offline   Reply With Quote
Old 2003-08-02, 06:36   #3
ebx
 
ebx's Avatar
 
Aug 2002

10110 Posts
Default

Isnt the next number after 2^32-1 zero(0) in 32 bit notation?
ebx is offline   Reply With Quote
Old 2003-08-02, 17:17   #4
QuintLeo
 
QuintLeo's Avatar
 
Oct 2002
Lost in the hills of Iowa

44810 Posts
Default

Yup - and divide by 0 has long been classified as an error....

9-)
QuintLeo is offline   Reply With Quote
Old 2003-08-02, 19:43   #5
smh
 
smh's Avatar
 
"Sander"
Oct 2002
52.345322,5.52471

29×41 Posts
Default

on error resume next ;)
smh is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
NewPgen Cybertronic Factoring 0 2014-03-22 10:07
Does NewPGen have a bug? MooooMoo Riesel Prime Search 16 2008-12-11 11:46
NewPGen k value problem roger Information & Answers 0 2007-04-04 22:38
NewPGen header. Flatlander 15k Search 1 2005-10-28 01:01
Sieving with NewPGen Cruelty 15k Search 41 2005-10-27 10:28

All times are UTC. The time now is 16:47.

Fri May 29 16:47:20 UTC 2020 up 65 days, 14:20, 1 user, load averages: 2.68, 2.95, 2.96

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, 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.