COS(x) 用于返回 x 的余弦,其中 x 为弧度值
mysql> SELECT COS(0), COS(PI()), COS(1); +--------+-----------+--------------------+ | COS(0) | COS(PI()) | COS(1) | +--------+-----------+--------------------+ | 1 | -1 | 0.5403023058681397 | +--------+-----------+--------------------+
时间: 2024-12-17 08:54:27