Safe Haskell | None |
---|---|

Language | Haskell98 |

`AUTHOR`

- Dr. Alistair Ward
`DESCRIPTION`

- Implements a
*Ramanujan*-type series for*Pi*; http://en.wikipedia.org/wiki/Srinivasa_Ramanujan.

- openR :: Series squareRootAlgorithm factorialAlgorithm -> squareRootAlgorithm -> factorialAlgorithm -> DecimalDigits -> Rational

# Functions

:: Series squareRootAlgorithm factorialAlgorithm | This |

-> squareRootAlgorithm | The specific |

-> factorialAlgorithm | The specific |

-> DecimalDigits | The number of decimal digits required. |

-> Rational |

Returns *Pi*, accurate to the specified number of decimal digits.