Anonymous user
Arithmetic-geometric mean: Difference between revisions
→{{header|Smalltalk}}
Line 2,673:
=={{header|Smalltalk}}==
{{works with|Smalltalk/X}}
That is simply a copy/paste of the already existing
<lang smalltalk>agm:y
"return the arithmetic-geometric mean agm(x, y) of the receiver (x) and the argument, y.
See https://en.wikipedia.org/wiki/Arithmetic-geometric_mean"
|ai an gi gn epsilon delta|
|