Nimue Guru Joined: 06/08/2020 Location: United KingdomPosts: 427
Posted: 02:10pm 08 Sep 2020
Just compared this exact algorithm in (cough) Python (using random and math libraries) and MMBasic.
After 10,000,000 iterations:
Python: 3.1416352 MMBasic: 3.1409356
As far as I can see, nothing wrong there. So both look like at best 2-3dps with 10,000,000 iterations. The PC took seconds (4GHz, 4-core) - whereas the CMM2 took minutes -- but this wasn't a speed exercise.