Anonymous user
Arithmetic-geometric mean: Difference between revisions
m
→{{header|REXX}}: removed STYLE from the PRE html tag.
(Added the agm function that I comitted to the Hoverbear Rust Rosetta Code repo - Josh Skootsky) |
m (→{{header|REXX}}: removed STYLE from the PRE html tag.) |
||
Line 1,171:
parse value format(x,2,1,,0) 'E0' with g 'E' _ .; return g*.5'E'_%2</lang>
'''output''' when using the default input:
<pre>
1st # = 1
2nd # = 0.7071067811865475244008443621048490392848359376884740365883398689953662392310535194251937671638207862
|