Pi: Difference between revisions
→{{header|jq}}: typos
Alextretyak (talk | contribs) (Added 11l) |
(→{{header|jq}}: typos) |
||
Line 2,942:
The annotation defined here results in a triple for each digit of pi:
[index, digit, space], where "space" is
the strings in the six-dimensional state vector, [q, r, t, k, n, l].
The output shows that the space requirements of the Gibbons
spigot grow very slightly more than linearly.
<lang jq># The Gibbons spigot, in the mold of the [[#Groovy]] and [[#ython]] programs shown on this page.
# The "bigint" functions needed are:
def pi_spigot:
|