MySQL acos()函數
ACOS(X)
這個函數返回X的反餘弦。X值的範圍必須在-1和1之間,否則返回 NULL。請看下麵的例子:
mysql> SELECT ACOS(1); +---------------------------------------------------------+ | ACOS(1) | +---------------------------------------------------------+ | 0.000000 | +---------------------------------------------------------+ 1 row in set (0.00 sec)