cos(rad)
描述
计算角度 (弧度) 的余弦。结果将会在 -1.0 到 1.0 之间。
参数
rad
代表弧度角,型别是double。
回传
角度 (double 型别) 的余弦。
See also
本页由热血青年 LBU 译自英文版。
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.