factory-0.3.0.0: Rational arithmetic in an irrational world.

Factory.Math.Implementations.Pi.Spigot.Spigot

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION

Synopsis

# Constants

decimal :: I Source #

The constant base in which we want the resulting value of Pi to be expressed.

# Functions

• Initialises a spigot-table with the row of coefficients.
• Ensures that the row has suffient terms to accurately generate the required number of digits.
• Extracts only those digits which are guaranteed to be accurate.
• CAVEAT: the result is returned as an Integer, i.e. without any decimal point.