Berserk Docs
Scalar FunctionsMath Functions

cos

Returns the cosine of the input angle in radians.

Syntax

cos(x)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print cos(0)
print_0 (real)
1.0

On this page