VMS Help  —  CPML  sin()
    Interface

      F_TYPE sin (F_TYPE x)

      F_TYPE sind (F_TYPE x)

1  –  Description

    sin() computes the sine of x, measured in radians.

    sind() computes the sine of x, measured in degrees.

                           Entry-Point Names

    Generic                               Compaq
    Function   Data Type   OpenVMS        Tru64 UNIX
    Name       Required    Alpha          Alpha

    sin        S_FLOAT     math$sin_s     sinf
               T_FLOAT     math$sin_t     sin
               X_FLOAT     math$sin_x     sinl
               F_FLOAT     math$sin_f
               G_FLOAT     math$sin_g

    sind       S_FLOAT     math$sind_s    sindf
               T_FLOAT     math$sind_t    sind
               X_FLOAT     math$sind_x    sindl
               F_FLOAT     math$sind_f
               G_FLOAT     math$sind_g

2  –  Exceptions

    Exceptional Argument                     Routine Behavior

    |x| = infinity                           Invalid argument
    (sind) |x| < (180/pi) * min_float        Underflow

    Data
    Type  Value for: (180/pi) * min_float

    F     Hexadecimal: 2EE10365
    G     Hexadecimal: C1F81A63A5DC006C
    S     Hexadecimal: 00000039
    T     Hexadecimal: 0000000000000039
    X     Hexadecimal: 00000000000000000000000000000039

    F     Decimal: 1.683772e-37
    G     Decimal: 3.187183529933798e-307
    S     Decimal: 8.028849e-44
    T     Decimal: 2.830787630910868e-322
    X     Decimal: 3.71000205951917569316937757202433432154392e-4964
Close Help