Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculating 10000 digits of Pi
#4
I added some lines at the bottom of the codes to measure it.

Code:
pln "It took "+clock()/1000+" seconds"
pln
pln "Press ENTER to quit"
temp=rln() 'pause

On my computer, it took 30 seconds. ... My machine is slower than Johnno's  Sad
Reply


Messages In This Thread
Calculating 10000 digits of Pi - by Tomaaz - 02-07-2024, 06:07 PM
RE: Calculating 10000 digits of Pi - by johnno56 - 02-07-2024, 10:49 PM
RE: Calculating 10000 digits of Pi - by Tomaaz - 02-08-2024, 01:32 PM
RE: Calculating 10000 digits of Pi - by 1micha.elok - 02-12-2024, 02:08 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)