Bellard's formula

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Bellard's formula, as used by PiHex, the now-completed distributed computing project, is used to calculate the nth digit of π in base 2. It is a faster version (about 43% faster[1]) of the Bailey–Borwein–Plouffe formula.

Bellard's formula was discovered by Fabrice Bellard in 1997.

One important application is verifying computations of all digits of pi performed by other means. Rather than having to compute all of the digits twice by two separate algorithms to ensure that a computation is correct, the final digits of a very long all-digits computation can be verified by the much faster Bellard's formula.[2]

Formula[edit]

Notes[edit]

  1. ^ PiHex Credits Archived July 21, 2006, at the Wayback Machine.
  2. ^ Trueb, Peter (31 October 2016). "Hexadecimal Digits are Correct!". Retrieved 2016-12-28. 

External links[edit]