cos

cos

> 函数列表

计算 angle 的余弦值。

参数
返回值
示例

cos(0) // 1 cos(PI / 2) // 0 cos(PI / 3) // 0.5 cos(PI / 6) // sqrt(3) / 2