Skip to content

Implementation of Bellard's algorithm for calculating pi to 'n' digits in Haskell.

License

Notifications You must be signed in to change notification settings

Chobbes/PiBellards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiBellards

A simple Haskell program implementing Bellard's formula

Installation

It should just install with cabal. You will probably want to install the Haskell Platform.

cabal install --bindir=/path/to/where/you/want/the/bin

Usage

Just call the binary with the number of digits you want to print:

PiBellards 30

The above will print 30 decimal places of pi.

About

Implementation of Bellard's algorithm for calculating pi to 'n' digits in Haskell.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published