20171115, 18:51  #89 
"Oliver"
Sep 2017
Porta Westfalica, DE
469_{10} Posts 
If you have set your Iterations between screen outputs by chance to exactly the number of iterations to be done, the following will happen:
Code:
[Worker #1 Nov 15 19:48] Iteration: 100000 / 100000 [100.00%], roundoff: 0.070, ms/iter: 0.026, ETA: 30:25:40 
20171116, 04:30  #90  
Serpentine Vermin Jar
Jul 2014
37×89 Posts 
Quote:


20171118, 00:36  #91 
Serpentine Vermin Jar
Jul 2014
37×89 Posts 
Prime95 v29.4 build 5 is official!
The download page has just been updated... v29.4 build 5 is now the official build. George gave his stamp of approval...
Enjoy! https://www.mersenne.org/download/ 
20171118, 02:28  #92  
Sep 2003
2^{2}·647 Posts 
Quote:


20171118, 04:20  #93  
Serpentine Vermin Jar
Jul 2014
37·89 Posts 
Quote:


20171118, 06:06  #94  
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 89<O<88
3·29·83 Posts 
Quote:


20171118, 08:02  #95  
"Robert Gerbicz"
Oct 2005
Hungary
1,459 Posts 
Quote:
Code:
printf("%d\n",strcmp("6.1.2","5.1.0")); printf("%d\n",strcmp("10.0.0","5.1.0")); Code:
1 1 ps. not forget https://gmplib.org/manual/UsefulMac...Constants.html "Global Constant: const char * const gmp_version The GMP version number, as a nullterminated string, in the form “i.j.k”. This release is "6.1.2". Note that the format “i.j” was used, before version 4.3.0, when k was zero." 

20171118, 13:48  #96 
Einyen
Dec 2003
Denmark
17·181 Posts 
There are variables for the version and minor version, so something like this should work:
Code:
if ((__GNU_MP_VERSION<5)  (__GNU_MP_VERSION==5 && __GNU_MP_VERSION_MINOR<1)) { jacobi_check=0; } Last fiddled with by ATH on 20171118 at 13:49 
20171118, 18:48  #97 
Sep 2003
2^{2}·647 Posts 
But this is at compile time only. It needs a runtime check, to check the version of the shared library. So the global variable gmp_version is needed instead.

20171118, 18:52  #98  
Undefined
"The unspeakable one"
Jun 2006
My evil lair
2^{2}×1,531 Posts 
Quote:
Sorry, [/rant] on the state of software development these days. 

20171118, 23:12  #99  
Einyen
Dec 2003
Denmark
3077_{10} Posts 
Quote:
Code:
sscanf(gmp_version,"%i.%i",&ver,&mver); if ((ver<5)  (ver==5 && mver<1)) { jacobi_check=0; } Code:
ver=0; mver=0; i=0; while(gmp_version[i]>=48 && gmp_version[i]<=57) { ver=ver*10+gmp_version[i]48; i++; } i++; while(gmp_version[i]>=48 && gmp_version[i]<=57) { mver=mver*10+gmp_version[i]48; i++; } if ((ver<5)  (ver==5 && mver<1)) { jacobi_check=0; } Last fiddled with by ATH on 20171120 at 16:10 

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Prime95 version 27.3  Prime95  Software  148  20120318 19:24 
Prime95 version 26.3  Prime95  Software  76  20101211 00:11 
Prime95 version 25.5  Prime95  PrimeNet  369  20080226 05:21 
Prime95 version 25.4  Prime95  PrimeNet  143  20070924 21:01 
When the next prime95 version ?  pacionet  Software  74  20061207 20:30 