Calculates the cotangent.
double cot (double x);
Required Header |
<math.h> |
Return Value
This function returns the cotangent of a double in radians.
Parameters
x
The value to be converted
Remarks
The cot function calculates the cotangent of x to 15 digits of precision.
See Also asin, acos, atan, atan2, sin, cos, tan, sinh, cosh, tanh