ajennings.net personal blog
A Million Digits of Pi in 9 Lines of JavaScript
"Big integers" have landed in Javascript, at least in Firefox and Chrome. One of my favorite things to do with high precision arithmetic is to calculate digits of π. From scratch, that is, using only addition, subtraction, multiplication, and division.
- Points
- 172
- HN comments
- 81
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringMath & Algorithms2019
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Sep 12, 2019 | A Million Digits of Pi in 9 Lines of JavaScript by ajennings | 172 | 81 |