VMS Help
RTL Routines, MTH$, MTH$xCOS

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    The Cosine of Angle Expressed in Radians routine returns the
    cosine of a given angle (in radians).

    Format

      MTH$COS  angle-in-radians

      MTH$DCOS  angle-in-radians

      MTH$GCOS  angle-in-radians

      Each of the above formats accepts one of the floating-point
      types as input.

  1 - Corresponding JSB Entry Points

      MTH$COS_R4

      MTH$DCOS_R7

      MTH$GCOS_R7

      Each of the above JSB entry points accepts one of the floating-
      point types as input.

  2 - Returns

    OpenVMS usage:floating_point
    type:         F_floating, D_floating, G_floating
    access:       write only
    mechanism:    by value

    Cosine of the angle. MTH$COS returns an F-floating number.
    MTH$DCOS returns a D-floating number. MTH$GCOS returns a G-
    floating number.

  3 - Argument

 angle-in-radians

    OpenVMS usage:floating_point
    type:         F_floating, D_floating, G_floating
    access:       read only
    mechanism:    by reference

    The angle in radians. The angle-in-radians argument is the
    address of a floating-point number. For MTH$COS, angle-in-radians
    is an F-floating number. For MTH$DCOS, angle-in-radians specifies
    a D-floating number. For MTH$GCOS, angle-in-radians specifies a
    G-floating number.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.