MathWorld (43-47) gives the following algorithm to compute the arctangent:
To find $\tan^{-1}x$ numerically, the following arithmetic-geometric mean-like algorithm can be used. Let
$$a_0 = (1+x^2)^{-1/2}$$
$$b_0 = 1$$
Then compute
$$a_{i+1} = (a_i+b_i)/2$$
$$b_{i+1} = \sqrt{a_{i+1}b_i}$$
and the inverse tangent is given by
$$\tan^{-1}x=\lim_{n\to\infty}\frac{x}{\sqrt{1+x^2}a_n} $$
(Acton 1990).
NB that it is not the AGM series. See the $a_{i+1}$ in the right-rand side for $b_{i+1}$.
Acton 1990 is Acton, F. S. "The Arctangent." In Numerical Methods that Work, upd. and rev. Washington, DC: Math. Assoc. Amer., pp. 6-10, 1990; originally published in 1970.
However, a much earlier document exists demonstrating a variation of the algorithm. Below is a page from Edsgar Dijkstra's notes on his Algol-60 compiler, describing the implementation of the standard library function arctan. There $a_0 = 1, b_0 = \sqrt{1+x^2}$, and the expression under the limit would be simply $x/b_n$.
For the purpose of my question, disregard the weighted sum. Instead of iterating until the desired precision of $10^{-12}$, the program runs 4 iterations, for which they have found weights of $b_0 ... b_4$ plus a constant term achieving the closest approximation.
My question is, if the "AGM-like" algorithm to compute the arctangent was already known by 1961, who is its true discoverer?
