Lipi Reference Lipi

Functions

math.acos()

The arccosine of `angle`, in radians. It is defined for a value from -1 to 1.

Syntax · 1 of 4

                math.acos(const float angle) → const float
              

Arguments

angle required const float A cosine value from -1 to 1. The contract spells this argument `angle`, though here the angle is the result rather than the value you pass.

Return Type

const float

Syntax · 2 of 4

                math.acos(input float angle) → input float
              

Arguments

angle required input float A cosine value from -1 to 1. The contract spells this argument `angle`, though here the angle is the result rather than the value you pass.

Return Type

input float

Syntax · 3 of 4

                math.acos(simple float angle) → simple float
              

Arguments

angle required simple float A cosine value from -1 to 1. The contract spells this argument `angle`, though here the angle is the result rather than the value you pass.

Return Type

simple float

Syntax · 4 of 4

                math.acos(series float angle) → series float
              

Arguments

angle required series float A cosine value from -1 to 1. The contract spells this argument `angle`, though here the angle is the result rather than the value you pass.

Return Type

series float