Nezir Zahirovic
Nezir Zahirovic

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.You can find lots of formulas for calculating π, but my favorite is this one:.


A Million Digits of Pi in 9 Lines of Javascript #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typecscript #jquery #emberjs #bosnia