VMS Help
RTL Routines, MTH$, MTH$xCOSD

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

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

    Format

      MTH$COSD  angle-in-degrees

      MTH$DCOSD  angle-in-degrees

      MTH$GCOSD  angle-in-degrees

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

  1 - Corresponding JSB Entry Points

      MTH$COSD_R4

      MTH$DCOSD_R7

      MTH$GCOSD_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$COSD returns an F-floating number.
    MTH$DCOSD returns a D-floating number. MTH$GCOSD returns a G-
    floating number.

  3 - Argument

 angle-in-degrees

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

    Angle (in degrees). The angle-in-degrees argument is the address
    of a floating-point number. For MTH$COSD, angle-in-degrees
    specifies an F-floating number. For MTH$DCOSD, angle-in-degrees
    specifies a D-floating number. For MTH$GCOSD, angle-in-degrees
    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.