Jump to content

Arithmetic-geometric mean/Calculate Pi: Difference between revisions

m
(→‎{{header|Raku}}: simplification)
Line 1,091:
The program expects as an input parameter the required number of decimal digits of '''''π''''' (32 ≤ N ≤ 1000000), default is 256 digits.
<syntaxhighlight lang="pascal">
program pi_digitsAgmForPi;
{$mode objfpc}{$h+}{$warn 5091 off}
uses
73

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.