What I like about this program are the Notes put there in the Remarks
"'PROGRAM TO CALCULATE PI, VERSION 4.8
'A MAJOR REWRITE OF VERSION 4.2, THIS USES ONLY TWO ARRAYS INSTEAD OF
'THREE, AND INCLUDES A HOST OF SPEEDUPS BASED ON A SIMILAR C PROGRAM.
'A SAMPLER: ALL THE CARRIES ARE RESERVED UNTIL THE END, THE DIVIDE AND
'ADD ROUTINES ARE COMBINED, TWO TERMS ARE ADDED AT A TIME, AND THE NUMBER
'OF FUNCTION CALLS IS MINIMIZED. IT'S A BIG CHANGE FOR A SMALL GAIN, SINCE
'THE COMPILED VERSION REQUIRES 28.6 SECONDS FOR 5000 DIGITS ON MY 486 66 MHZ
'COMPUTER, A 10% GAIN OVER VERSION 4.2; LIKE BEFORE, IT'S CAPABLE OF ABOUT
'150,000 DIGITS OF PI. (100X FASTER WITH 2.9 GHZ ATHLON ONLY USING 1 CPU)
'
'THIS PROGRAM HAS COME A LONG WAY FROM VERSION 1.0; THANKS ARE DUE TO
'LARRY SHULTIS, RANDALL WILLIAMS, BOB FARRINGTON AND ADRIAN UMPLEBY.
'ONE FINAL NOTE FOR SPEED FREAKS: THIS PROGRAM WILL RUN ABOUT 6 TIMES FASTER
'IF WRITTEN IN C USING AN OPTIMIZING COMPILER. LIKEWISE, IF YOU CAN FIGURE
'OUT A WAY TO DO INTEGER DIVISION AND USE BOTH THE QUOTIENT AND REMAINDER,
'THIS PROGRAM CAN EASILY BE SPED UP BY 25%. -JAS...@isr.UMD.EDU
'
'
'FILE SAVE ADDED 3/15/99 BY MARTI...@kcinter.NET
'MODIFIED FOR QB64 IN 2011 BY JRW. NOTE THE ORIGINAL PROGRAM USED SEVERAL TRICKS SINCE MAX ARRAY
'ELEMENT SIZE IN QB4.5 IS 32767 SO IT WAS LIMITED TO 4*32767 DIGITS. NOW LIMITED BY COMPUTER
'MEMORY. NOTE AS ABOVE IF YOU CHANGE DEFINE BELOW TO LONG THEN ERROR IN PI WILL OCCUR AT
'150,100TH DIGIT. NOW IT IS GOOD THROUGH AT LEAST 1,000,000 DIGITS WHICH TAKES ABOUT 9100 SECS
'TO CALC ON A 2.9 GHZ ATHLON PC. ON THE OTHER HAND YOU CAN LOAD A HAND CODED VERSION "QPI.EXE"
'WHICH USING THE SAME MACHIN ALGORITHM IN 2 SECS AND LESS THAN A SEC WHEN USING FASTER ALGORITHMS!
I remember like I am sure many do on here the good ole 486 66 MHZ 'COMPUTER and the 2.9 GHZ ATHLON I had both.
and I am trying to remember the full spec of the machines?
Ah!
The 486 was a 32-bit CPU with thirty-two 32-bit registers and 1.1M to 1.2M transistors in a 168- or 169-pin PGA package. Real Mode performed as an 8086 CPU that addressed 1MB of RAM, while Protected Mode addressed 4GB of physical RAM and 64TB of virtual memory.
www.pcmag.com/encyclopedia/term/486#:~:text=Technical%20Specs,and%2064TB%20of%20virtual%20memory.
And..
The AMD Athlon II X2 245e was a desktop processor with 2 cores, launched in May 2010. It is part of the Athlon II X2 lineup, using the Regor architecture with Socket AM3. Athlon II X2 245e has 1 MB of L2 cache and operates at 2.9 GHz. AMD is building the Athlon II X2 245e on a 45 nm production process using 410 million transistors. The multiplier is locked on Athlon II X2 245e, which limits its overclocking capabilities.
With a TDP of 45 W, the Athlon II X2 245e consumes typical power levels for a modern PC. AMD's processor supports DDR3 memory with a dual-channel interface. For communication with other components in the computer, Athlon II X2 245e uses a PCI-Express Gen 2 connection. Although the processor doesn't come with integrated graphics, certain motherboards with compatible chipsets can provide this capability.
Hardware virtualization is available on the Athlon II X2 245e, which greatly improves virtual machine performance.
www.techpowerup.com/cpu-specs/athlon-ii-x2-245e.c687The good old Computer days when Men were Men
It's funny but also a bit sad that when we pass and leave this world,any program we wrote lives on forever? on the internet! etc. so make sure you make plenty of Notes!
A.R.B