asin()

Math / Trigonometry

Description

The inverse of sin, returns the arc sine of a value.

Syntax

float asin(float x)

Parameters

NameTypeDescription
xfloatvalue between -1 and 1

Returns

float

Related

Under the Hood

From Processing.h:

static float asin(float x) { return std::asin(x); } static float asin(float x) { return std::asin(x);