Skip to main content

ACOS

Returns the arc cosine of x, that is, the value whose cosine is x. Returns NULL if x is not in the range -1 to 1.

Syntax

ACOS( <x> )

Examples

SELECT ACOS(1);

┌─────────┐
│ acos(1)
├─────────┤
0
└─────────┘
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today