RosettaCodeData/Task/Eulers-constant-0.5772.../J/eulers-constant-0.5772...-2.j

9 lines
135 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Euler=: {{
A=.B=. ^.1r13 1x1
r=. j=. 0
whilst. (r=.%/B)~:!.0(r) do.
B=. B+A=. (j,1)%~+/\.A*169%(1,j)*(j=.j+1)
end.
r
}}0