Outdated Version

You are viewing an older version of this section. View current production version.


Returns the arc cosine of x in radians, or NULL if x is not in the range [-1, 1].

ACOS (x)


  • x: the argument

Return Type

Float or double. NULL if x is NULL or invalid.

** Examples**

memsql> select acos(1);
| acos(1) |
|       0 |