Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有很多资源可以用十进制计算 PI。我发现这个做得很快:http ://en.literateprograms.org/Pi_with_Machin 's_formula_(Python)
但是我如何在另一个基础上计算它?我可以修改该代码来做到这一点吗?