TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Pi with arbitrary precision using Bernoulli numbers (the slow way)

1 点作者 juliusgeo超过 2 年前

1 comment

juliusgeo超过 2 年前
In the recent discussion here on Plouffe&#x27;s new formula for calculating the decimal digits of pi [0] it was noted that fast calculation of Bernoulli numbers often requires knowing pi with decent precision. In Plouffe&#x27;s paper he notes that it can be calculated using a multi-modular algorithm, but that would be too complex for a toy project like this so I stuck with a double sum.<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34389145" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34389145</a>