8.2.2. ACOS()

Available in

DSQL, PSQL

Possible name conflict

YES → Read details

Syntax

  1. ACOS (number)
Table 100. ACOS Function Parameter
ParameterDescription

number

An expression of a numeric type within the range [-1; 1]

Result type

DOUBLE PRECISION

Description

Returns the arc cosine of the argument.

  • The result is an angle in the range [0, pi].

  • If the argument is outside the range [-1, 1], NaN is returned.