acos function

Input type Output type
float
complex
float
complex

This function calculates the arccosine of the argument and returns the result. If the argument is of type int, it is first converted to float by the compiler.

Examples:

acos(0)      ; 1.5708
acos(0.0)    ; 1.5708
acos((0,0))  ; (1.5708, 0)

Notes

See Also
cos function
cosh function
acosh function