HELPLIB.HLB  —  CRTL  cot
    Returns the cotangent of its radian argument.

    Format

      #include  <math.h>

      double cot  (double x);

      float cotf  (float x); (Integrity servers, Alpha)

      long double cotl  (long double x); (Integrity servers, Alpha)

      double cotd  (double x); (Integrity servers, Alpha)

      float cotdf  (float x); (Integrity servers, Alpha)

      long double cotdl  (long double x); (Integrity servers, Alpha)

1  –  Argument

 x

    A radian expressed as a real number.

2  –  Description

    The cot functions return the cotangent of their argument,
    measured in radians.

    The cotd functions return the cotangent of their argument,
    measured in degrees.

    x = 0 is an invalid argument.

3  –  Return Values

    x                  The cotangent of the argument.
    HUGE_VAL           Indicates that the argument is zero; errno is
                       set to ERANGE.
Close Help