![]() |
cos | Function (ROM Call 0xF9*) |
math.h, timath.h |
float cos (float x); |
Floating point cosine.
cos returns the cosine of floating point argument x, which is assumed
to be specified in radians.
Note: cos will return NAN if the argument is so big that
reducing to the main period can't be performed without complete losing of
significant digits (i.e. when the magnitude of x is greater than 1e13).