01-08-2025, 12:30 PM
I updated the code in first post using _offset, it's between 7 and 160+ times faster
Code: (Select All)
3.1415926535897932384...20560010165525637567
3.1415926535897932384...20560010165525637567
3.1415926535897932384...20560010165525637567
Pi to 10000 digits
elapsed time for pi_brent_salamin .80199999999968 seconds
elapsed time for Pi_Ramanujan .7240000000019791 seconds
elapsed time for pi_chudnovsky_bs .5419999999976426 seconds
Press any key to continue