Pi: Difference between revisions
Content added Content deleted
(→{{header|Haskell}}: code spacing) |
|||
Line 503: | Line 503: | ||
=={{header|Haskell}}== |
=={{header|Haskell}}== |
||
The |
The code from [http://www.cs.ox.ac.uk/people/jeremy.gibbons/publications/spigot.pdf]: |
||
<lang haskell>pi_ = g(1,0,1,1,3,3) where |
<lang haskell>pi_ = g(1,0,1,1,3,3) where |
||
g (q,r,t,k,n,l) = |
g (q,r,t,k,n,l) = |