acos()
Math / TrigonometryDescription
The inverse of cos, returns the arc cosine of a value.
Syntax
float acos(float x)
Parameters
| Name | Type | Description |
|---|---|---|
| x | float | value between -1 and 1 |
Returns
floatRelated
Under the Hood
From Processing.h:
return std::acos(c);
static float acos(float x) { return std::acos(x); }
static float acos(float x) { return std::acos(x);