
|
84782 packages online
|
|
 |
|
misc/sci/PPCtroepfel.lha |
|
No screenshot available
|
|
Just ported the source to powerUP (TM) with SAS/C for PPC.
Did not change the source, just added the necessary makefile,
SCOPTIONS and updated the docs. Deleted all the .info files.
68k version is available as misc/sci/troepfel.lha (000/020).
Comparision:
6500 digits of PI
020-Version (68040-25) 771.98 sec 8.41 digits/sec
PPC-Version (604-200) 69.40 sec 93.64 digits/sec
Note, that the program makes heavy use of standard I/O, so the
PPC actually might be MUCH faster than it seems - to check that
out, one probably could try setting a larger buffer for the
standard ANSI level 2 file I/O functions.
Also, there seems to be a bug in the program, which
makes it impossible to let it calc more than ~6500 digits
(somewhere between 6500 and 6600 an internal "overflow"
is generated).
***
This program calculates pi or e to as many digits as you want with the
"troepfel" algorithm. This Program refers to an articel in "Spektrum
der Wissenschaft", Vol. 12, 1995 (the german issu of "Scientific
American"). This package contains a 68000 and 68020 version (no fpu
necessary), a description in AmigaGuide format (completely in German,
sorry) and the ANSI-C source code (SAS-C 6.55, gcc) (documented in English).
Under UNIX with gcc it is selfcompiling, just type: "sh Troepfel.c".
Files in this archive:
e10000.txt - First 10000 digits of e
pi10000.txt - First 10000 digits of pi
Troepfel000 - 68000 Executable
Troepfel020 - 68020+ Executable
Troepfel.guide - German dokumentation in AmigaGuide-Format
Troepfel.c - Source for the main program
ETroepfel.c - Source for e-calculation
PiTroepfel.c - Source for pi-calculation
Troepfel.h - Function declarations of ETroepfel and PiTroepfel
SCoptions - SAS-C Compiler options
Troepfel.readme - This readme
Georg Pfundt
(09-JAN-1996)
|
Contents of misc/sci/PPCtroepfel.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 5062 10002 50.6% -lh5- 127f Jan 9 1996 PPCtroepfel/E10000.TXT
[generic] 1600 3214 49.8% -lh5- 79ce Jan 8 1996 PPCtroepfel/etroepfel.c
[generic] 878 1916 45.8% -lh5- 10ca Feb 8 1998 PPCtroepfel/etroepfel.o
[generic] 5078 10002 50.8% -lh5- 902b Jan 9 1996 PPCtroepfel/PI10000.TXT
[generic] 1963 4230 46.4% -lh5- df90 Jan 8 1996 PPCtroepfel/pitroepfel.c
[generic] 1078 2265 47.6% -lh5- df3b Feb 8 1998 PPCtroepfel/pitroepfel.o
[generic] 1115 2142 52.1% -lh5- ef21 Feb 8 1998 PPCtroepfel/PPCtroepfel.readme
[generic] 207 357 58.0% -lh5- 2b07 Feb 8 1998 PPCtroepfel/SCOPTIONS
[generic] 123 363 33.9% -lh5- f724 Feb 8 1998 PPCtroepfel/smakefile
[generic] 47 47 100.0% -lh0- c415 Feb 8 1998 PPCtroepfel/Troepfel
[generic] 1394 2942 47.4% -lh5- 9972 Jan 9 1996 PPCtroepfel/troepfel.c
[generic] 16421 35627 46.1% -lh5- 7c22 Feb 8 1998 PPCtroepfel/troepfel.elf
[generic] 2628 5500 47.8% -lh5- d237 Jan 3 1996 PPCtroepfel/troepfel.guide
[generic] 172 299 57.5% -lh5- 646e Jan 3 1996 PPCtroepfel/troepfel.h
[generic] 1015 2160 47.0% -lh5- 470e Feb 8 1998 PPCtroepfel/troepfel.o
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 15 files 38781 81066 47.8% Feb 8 1998
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |