![]() |
|
|
#12 |
|
Einyen
Dec 2003
Denmark
35×13 Posts |
|
|
|
|
|
|
#13 |
|
Mar 2018
21216 Posts |
I have installed Prime95
In the window of Code Blocks what I have to write? #include what? then? |
|
|
|
|
|
#14 |
|
Sep 2002
Database er0rr
E9B16 Posts |
Have you compiled Prime95 or mprime form its source code? This depends on your operating system. What is your operating system and is your machine and operating system 64 bit or are parts 32-bits?
Last fiddled with by paulunderwood on 2019-03-12 at 16:03 |
|
|
|
|
|
#15 |
|
Sep 2002
Database er0rr
3,739 Posts |
The source is written in the C language (plus some object files already compiled from assembly by George). This will need to be "compiled" -- that is converted from C to an executable. Move into the correct directory (of the source) for your operating system and machine architecture and run make. This is probably in a drop-down menu of Code Block's IDE (integrate development environment).
(make is a program that will help to compile the source. A "Makefile" sets the compiler switches/flags, paths, executable name, resulting library object etc., apt for Prime95/mprime.) Last fiddled with by paulunderwood on 2019-03-12 at 16:39 |
|
|
|
|
|
#16 |
|
Mar 2018
2×5×53 Posts |
|
|
|
|
|
|
#17 | |
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
Have you downloaded and unzipped this file? On Linux I would run in the gwnum directory make -f compil64 gwnum64.lib for the Windows ( ) library you will need. I have no clue how to do this with Code Block under win10. So, I am handing you over to my colleagues...
Last fiddled with by paulunderwood on 2019-03-12 at 17:30 |
|
|
|
|
|
|
#18 |
|
P90 years forever!
Aug 2002
Yeehaw, FL
11101011001102 Posts |
GWNUM is not the most user friendly library for handling large numbers.
If you are new to C programming or this compiler, you should start with small programs and work your way up to GMP or other math library and then maybe GWNUM. |
|
|
|
|
|
#19 | |
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
Last fiddled with by paulunderwood on 2019-03-13 at 01:27 |
|
|
|
|
|
|
#20 | |
|
Mar 2018
2·5·53 Posts |
Quote:
GWNUM can be used also for probable prime tests of not Mersenne primes? For every type of prime? Last fiddled with by enzocreti on 2019-03-13 at 14:42 |
|
|
|
|
|
|
#21 | |
|
Sep 2002
Database er0rr
3,739 Posts |
Quote:
With GWNUM one should be doing FFT floating point overflow error detection. It can be very complicated. What sort of numbers did you have in mind? Last fiddled with by paulunderwood on 2019-03-13 at 15:25 |
|
|
|
|
|
|
#22 | |
|
Mar 2018
2·5·53 Posts |
Quote:
Simply: number formed by the concatenation in base 10 of two consecutive Mersenne numbers. Examples are 31, 73, 157, 3115, 40952047... Last fiddled with by enzocreti on 2019-03-14 at 17:53 |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GWNUM program | paulunderwood | Programming | 54 | 2021-02-10 12:46 |
| LLR V3.8.2 using gwnum 26.2 is available! | Jean Penné | Software | 25 | 2010-11-01 15:18 |
| GWNUM? | Unregistered | Information & Answers | 3 | 2010-09-12 19:52 |
| GWNUM as DLL? | Cyclamen Persicum | Software | 1 | 2007-01-02 20:53 |
| GWNUM library | bearnol | Software | 6 | 2006-02-24 11:19 |