Mosè Giordano 11/21/2017

Computing the hexadecimal value of pi

Read Original

This technical article details the Bailey-Borwein-Plouffe (BBP) formula, a unique algorithm for computing π that allows extraction of specific hexadecimal digits without calculating preceding ones. It explains the mathematical formula, discusses computational considerations to avoid rounding errors, and provides a complete Julia language implementation to generate hexadecimal digits of π.

Computing the hexadecimal value of pi

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser