VMS Help
RTL Routines, MTH$, MTH$xSINCOSD

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

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

    Format

      MTH$SINCOSD  angle-in-degrees ,sine ,cosine

      MTH$DSINCOSD  angle-in-degrees ,sine ,cosine

      MTH$GSINCOSD  angle-in-degrees ,sine ,cosine

      MTH$HSINCOSD  angle-in-degrees ,sine ,cosine

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

  1 - Corresponding JSB Entry Points

      MTH$SINCOSD_R5

      MTH$DSINCOSD_R7

      MTH$GSINCOSD_R7

      MTH$HSINCOSD_R7

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

  2 - Returns

    MTH$SINCOSD, MTH$DSINCOSD, MTH$GSINCOSD, and MTH$HSINCOSD return
    the sine and cosine of the input angle by reference in the sine
    and cosine arguments.

  3 - Arguments

 angle-in-degrees

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

    Angle (in degrees) whose sine and cosine are returned by
    MTH$xSINCOSD. The angle-in-degrees argument is the address of
    a floating-point number that is this angle. For MTH$SINCOSD,
    angle-in-degrees is an F-floating number. For MTH$DSINCOSD,
    angle-in-degrees is a D-floating number. For MTH$GSINCOSD, angle-
    in-degrees is a G-floating number. For MTH$HSINCOSD, angle-in-
    degrees 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-degrees. The sine
    argument is the address of a floating-point number. MTH$SINCOSD
    writes an F-floating number into sine. MTH$DSINCOSD writes a
    D-floating number into sine. MTH$GSINCOSD writes a G-floating
    number into sine. MTH$HSINCOSD 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-degrees. The cosine
    argument is the address of a floating-point number. MTH$SINCOSD
    writes an F-floating number into cosine. MTH$DSINCOSD writes a
    D-floating number into cosine. MTH$GSINCOSD writes a G-floating
    number into cosine. MTH$HSINCOSD 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.