acos()

Math / Trigonometry

Description

The inverse of cos, returns the arc cosine of a value.

Syntax

float acos(float x)

Parameters

NameTypeDescription
xfloatvalue between -1 and 1

Returns

float

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...