Almkvist-Giullera formula for pi: Difference between revisions

Content added Content deleted
m (→‎{{header|dc}}: Add output header)
Line 250: Line 250:


[* main loop: print values for first 10 terms *]sz
[* main loop: print values for first 10 terms *]sz
[N. Integral part of Nth term .................. × 10^ = Actual value of Nth term]p
0 sj
0 sj
[
[
Line 266: Line 267:


{{Out}}
{{Out}}
<pre>N. Integral part of Nth term .................. × 10^ = Actual value of Nth term
<pre>0. 96 -3 .09600000000000000000000000000000000000000000000000
0. 96 -3 .09600000000000000000000000000000000000000000000000
1. 5122560 -9 .00512256000000000000000000000000000000000000000000
1. 5122560 -9 .00512256000000000000000000000000000000000000000000
2. 190722470400 -15 .00019072247040000000000000000000000000000000000000
2. 190722470400 -15 .00019072247040000000000000000000000000000000000000