Berserk Docs
Scalar FunctionsMath Functions

acos

Returns the arc cosine of the input (in radians). Input must be in [-1, 1].

Syntax

acos(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print acos(1)
print_0 (real)
0.0

On this page