Skip to main content
Version: 0.0.1

ACOS

Categories: Math

ACOS

Computes the arccosine (inverse cosine) of a value in radians

Syntax

ACOS(numeric_expression NUMERIC) → FLOAT

  • numeric_expression: The number in radians. This must be DOUBLE, INTEGER, or FLOAT.

Examples

{{< codeheader "ACOS example" >}}

SELECT ACOS(0)
-- 1.5707963267948966

{{< codeheader "ACOS example" >}}

SELECT ACOS(1.0)
-- 0.0

{{< codeheader "ACOS example" >}}

SELECT ACOS(-1)
-- 3.141592653589793