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

SubmittedTitle on HNPointsComments
Sep 12, 2019A Million Digits of Pi in 9 Lines of JavaScript by ajennings17281

Related posts from the same era