Our sum for the first fractional part then becomes:: formula_13Notice how the modulo operator always guarantees that only the fractional sum will be kept.
Bailey-Borwein-Plouffejeva formula, oziroma formula BBP, je v matematiki formula za računanje števila π, ki jo je leta 1995 odkril kanadski matematik Simon Plouffe.