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

Language | Haskell2010 |

`AUTHOR`

- Dr. Alistair Ward
`DESCRIPTION`

- Implements a
*Ramanujan*-type series for*Pi*; https://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.