首页 > 代码库 > COS(x)

COS(x)

COS(x) 用于返回 x 的余弦,其中 x 为弧度值

mysql> SELECT COS(0), COS(PI()), COS(1);+--------+-----------+--------------------+| COS(0) | COS(PI()) | COS(1)             |+--------+-----------+--------------------+|      1 |        -1 | 0.5403023058681397 |+--------+-----------+--------------------+

 

 

 

   

COS(x)