VMS Help  —  CPML  cot()
    Interface

      F_TYPE cot (F_TYPE x)

      F_TYPE cotd (F_TYPE x)

1  –  Description

    cot() computes the cotangent of x, measured in radians.

    cotd() computes the cotangent of x, measured in degrees.

                           Entry-Point Names

    Generic
    Function   Data Type   OpenVMS        Tru64 UNIX
    Name       Required

    cot        S_FLOAT     math$cot_s     cotf
               T_FLOAT     math$cot_t     cot
               X_FLOAT     math$cot_x     cotl
               F_FLOAT     math$cot_f
               G_FLOAT     math$cot_g

    cotd       S_FLOAT     math$cotd_s    cotdf
               T_FLOAT     math$cotd_t    cotd
               X_FLOAT     math$cotd_x    cotdl
               F_FLOAT     math$cotd_f
               G_FLOAT     math$cotd_g

2  –  Exceptions

    Exceptional Argument                     Routine Behavior

    (cot) x=0                                Overflow
    (cotd) |x| = multiples of 180 degrees    Overflow
Close Help