This function extends FORTRAN's generic ACOS function evaluate the complex arc cosine.
ACOS — Complex function value in units of radians with the real part in the first or second quadrant. (Output)
Z — Complex argument for which the arc cosine is desired. (Input)
Specific: The specific interface names are CACOS and ZACOS.
Double complex: The double complex function name is ZACOS.
Almost all arguments are legal. Only when |z| > b/2 can an overflow occur. Here, b = AMACH(2) is the largest floating point number. This error is not detected by ACOS.
In this example, cos−1(1 − i) is computed and printed.
99999 FORMAT (' ACOS((', F6.3, ',', F6.3, ')) = (', &
ACOS(( 1.000,-1.000)) = ( 0.905, 1.061)
|
Visual Numerics, Inc. PHONE: 713.784.3131 FAX:713.781.9260 |