Trigonometric functions: Difference between revisions
Content added Content deleted
(→{{header|AWK}}: Show how to use atan2() to calculate arcsine and arccosine.) |
m (→{{header|AWK}}: Typo in comment.) |
||
Line 168:
}
# acos(
function acos(x) {
return atan2(sqrt(1 - x * x), x)
|