HELPLIB.HLB  —  CPML  cexp()
    Interface

      F_COMPLEX cexp (F_TYPE x, F_TYPE y)

1  –  Description

    cexp() returns the exponential of a complex number.

    cexp(x,y) is defined as e**(x + iy) = e**x cos y + ie**x sin y.

                           Entry-Point Names

    Generic
    Function   Data Type   OpenVMS        Tru64 UNIX
    Name       Required

    cexp       S_FLOAT     math$cexp_s    cexpf
               T_FLOAT     math$cexp_t    cexp
               X_FLOAT     math$cexp_x    cexpl
               F_FLOAT     math$cexp_f
               G_FLOAT     math$cexp_g

2  –  Exceptions

    Exceptional Argument            Routine Behavior

    |y| = infinity                  Invalid argument
    |e**x cos y| > max_float        Overflow
    |e**x sin y| > max_float        Overflow

    Data
    Type  Value for: max_float

    F     Hexadecimal: FFFF7FFF
    G     Hexadecimal: FFFFFFFFFFFF7FFF
    S     Hexadecimal: 7F7FFFFF
    T     Hexadecimal: 7FEFFFFFFFFFFFFF
    X     Hexadecimal: 7FFEFFFFFFFFFFFFFFFFFFFFFFFFFFFF

    F     Decimal: 1.701411e38
    G     Decimal: 8.988465674311579e307
    S     Decimal: 3.402823e38
    T     Decimal: 1.797693134862316e308
    X     Decimal: 1.189731495357231765085759326628007016196477e4932

    Data
    Type  Value for: min_float

    F     Hexadecimal: 00000080
    G     Hexadecimal: 0000000000000010
    S     Hexadecimal: 00000001
    T     Hexadecimal: 0000000000000001
    X     Hexadecimal: 00000000000000000000000000000001

    F     Decimal: 2.9387359e-39
    G     Decimal: 5.562684646268003e-309
    S     Decimal: 1.4012985e-45
    T     Decimal: 4.940656458412465e-324
    X     Decimal: 6.4751751194380251109244389582276465524996e-4966
Close Help