Skip to main content
Home Forums 68kMLA 168 MB in an 8100/80, what to do? — #9
Post #9 by H3NRY
Source Forum68kMLA
CategorySoftware
Post DateThu, 25 Mar 2010 - 05:53
Original URLhttps://68kmla.org/bb/threads/168-mb-in-an-8100-80-what-to-do.20088/
Post
I wonder if calculating pi to some long number of digits would use up a lot of RAM...
Not unless you want it to. Just for the **** of it, when I first got my Apple ][ in 1977 with a meaty 16K of RAM, I decided to calculate pi to 1000 places. It took the little beast most of a weekend to run it, but it came out right to 999 places. Truncating error on the last digit. Shoulda calculated 1001 places and rounded. Anyway, the hard part was finding pi listed to that accuracy anywhere to check my algorithm. I eventually found the head of the university math department had a poster from IBM who had set one of their mainframes the task, and after a couple of weeks of grinding, they had done pi to 1000 places. They were so proud of the accomplishment, they sent these snazzy framed posters to every university in the country. Personal computers certainly did change the world! 8-)

mp.ls