Calculates the cosine of an angle.
Compute the cosine of an angle, in radians.
Parameters
The radian measure of the angle.
The Maple cos() implementation is compatible with Arduino.
Note that the Maple implementation comes from newlib, while Arduino’s is that of avr-libc.
License and Attribution
This documentation page was adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.