- Kategorien:
Numerische Funktionen (Trigonometrisch)
ACOS¶
Berechnet den inversen Kosinus (Arkuskosinus) der Eingabe; das Ergebnis ist eine Zahl im Intervall [0, pi].
Syntax¶
ACOS( <input_expr> )
Argumente¶
input_exprThe value or expression to operate on. Must be greater than or equal to -1.0 and less than or equal to +1.0. The data type must be FLOAT or DECFLOAT.
Rückgabewerte¶
If the input expression is of type DECFLOAT, the returned type is DECFLOAT. Otherwise, the returned type is FLOAT.
Gibt den Arcuscosinus-Wert im Bogenmaß (nicht in Grad) im Bereich [0, pi] zurück.
Beispiele¶
SELECT ACOS(0), ACOS(0.5), ACOS(1);
+-------------+-------------+---------+
| ACOS(0) | ACOS(0.5) | ACOS(1) |
|-------------+-------------+---------|
| 1.570796327 | 1.047197551 | 0 |
+-------------+-------------+---------+