Calculate pi Faster than Gregory Lebinz's method! DO TURBO MODE OR ELSE Update 1: Made a super tiny bit faster You can see the time Update 2: made a bit faster...
@TheLogFather (not my idea) https://scratch.mit.edu/projects/96932007/ if you are boerd The basic formula is: pi = (32/10) - (32/1000)/3 + (32/100000)/5 - (32/10000000)/7 + .... - (4/239) + (4/239^3)/3 - (4/239^5)/5 + (4/239^7)/7 - .... - (16/515) + (16/515^3)/3 - (16/515^5)/5 + (16/515^7)/7 - .... I calculated 1000 and it takes 2.06 seconds! I calculated 5000 and it takes 37.4 seconds. I calculated 20000 and it takes 554 seconds.