VMS Help
RTL Routines, MTH$, MTH$xSINCOS

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

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

    Format

      MTH$SINCOS  angle-in-radians ,sine ,cosine

      MTH$DSINCOS  angle-in-radians ,sine ,cosine

      MTH$GSINCOS  angle-in-radians ,sine ,cosine

      MTH$HSINCOS  angle-in-radians ,sine ,cosine

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

  1 - Corresponding JSB Entry Points

      MTH$SINCOS_R5

      MTH$DSINCOS_R7

      MTH$GSINCOS_R7

      MTH$HSINCOS_R7

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

  2 - Returns

    MTH$SINCOS, MTH$DSINCOS, MTH$GSINCOS, and MTH$HSINCOS return the
    sine and cosine of the input angle by reference in the sine and
    cosine arguments.

  3 - Arguments

 angle-in-radians

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

    Angle (in radians) whose sine and cosine are to be returned. The
    angle-in-radians argument is the address of a floating-point
    number that is this angle. For MTH$SINCOS, angle-in-radians
    is an F-floating number. For MTH$DSINCOS, angle-in-radians is
    a D-floating number. For MTH$GSINCOS, angle-in-radians is a
    G-floating number. For MTH$HSINCOS, angle-in-radians is an H-
    floating number.

 sine

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

    Sine of the angle specified by angle-in-radians. The sine
    argument is the address of a floating-point number. MTH$SINCOS
    writes an F-floating number into sine. MTH$DSINCOS writes a D-
    floating number into sine. MTH$GSINCOS writes a G-floating number
    into sine. MTH$HSINCOS writes an H-floating number into sine.

 cosine

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

    Cosine of the angle specified by angle-in-radians. The cosine
    argument is the address of a floating-point number. MTH$SINCOS
    writes an F-floating number into cosine. MTH$DSINCOS writes a
    D-floating number into cosine. MTH$GSINCOS writes a G-floating
    number into cosine. MTH$HSINCOS writes an H-floating number into
    cosine.
  Close     HLB-list     TLB-list     Help  

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