Short: Very fast prime computer
Author: Tcn@oxygen.in-berlin.de (Timo C. Nentwig)
Uploader: Tcn oxygen in-berlin de (Timo C Nentwig)
Type: misc/math
Replaces: misc/math/calcprimes*
Architecture: m68k-amigaos
Url: http://home.pages.de/~oxygen.
---------------------------------------------------------------------------
General
---------------------------------------------------------------------------
CalcPRIMES is a very fast prime computer. It calcs on my system (A4000/030
@ 25) primes from 2 to 1.000.000 in less than 3.5 seconds. If you've
written some faster please lemme know.
CalcPRIMES is completely written in *pure* C++. That why it's options
parsing had to be made unix-like ("CalcPRIMES -h" for help), sorry.
---------------------------------------------------------------------------
Amiga
---------------------------------------------------------------------------
The amiga version is compiled with SAS/C 6.57 (68000, math=IEEE). Since the
SAS/C just features a C++ to C translator the executable is very large and
may be much slower than possible.
---------------------------------------------------------------------------
News
---------------------------------------------------------------------------
Just the most important changes I remember. This ain't really a history
log.
1.0: · undocumentated
1.1: · undocumentated
1.2: · undocumentated
1.3: · should no more crash when calculating primes far to over 1000000.
The range is now only limited by the size of unsigned long and the
memory available.
· Shows how much mem is needed.
1.4: speed increase (5%)
1.5: speed increase (22%)
---------------------------------------------------------------------------
Misc
---------------------------------------------------------------------------
I'm interested in how fast CalcPRIMES run on your enviroment in order to
create a benchmark.
If you wanna help me, please gimme the following information (provided that
you are running AmigaOS 3.1):
1) Seconds to calc to 10.000, 100.000, 1.000.000, 10.000.000, 100.000.000
and so on (RAM depending).
2) Your CPU and FPU, their speed in MHz and if you've a turbo board its
manufacturer and name , e.g.
Manufacturer: phase5
Name: CyberStorm '060
CPU: 68060 @ 50 MHz
FPU: 68882 @ 50 MHz