What is the fastest way to get the value of π?

后端 未结 23 1751
自闭症患者
自闭症患者 2020-11-28 00:33

I\'m looking for the fastest way to obtain the value of π, as a personal challenge. More specifically, I\'m using ways that don\'t involve using #define constan

23条回答
  •  温柔的废话
    2020-11-28 01:06

    If by fastest you mean fastest to type in the code, here's the golfscript solution:

    ;''6666,-2%{2+.2/@*\/10.3??2*+}*`1000<~\;
    

提交回复
热议问题