Cosine
[Classification]
Mathematical library
[Syntax]
#include <mathf.h>
float cosf(float x);
[Return value]
Returns the cosine of x.
If inputting +∞, cosf returns a Not a NaN and sets macro EDOM to global variable errno.
[Description]
This function calculates the cosine of x. Specify the angle in radian.