1 COMPLEX*16
FUNCTION ZLADIV
( X
, Y
)
3 * -- LAPACK auxiliary routine
(version
3.1) --
4 * Univ
. of Tennessee
, Univ
. of California Berkeley and NAG Ltd
..
7 * .. Scalar Arguments
..
14 * ZLADIV
:= X
/ Y
, where X and Y are
complex. The computation of X
/ Y
15 * will not overflow on an intermediary step unless the results
21 * X
(input
) COMPLEX*16
22 * Y
(input
) COMPLEX*16
23 * The
complex scalars X and Y
.
25 * =====================================================================
28 DOUBLE PRECISION ZI
, ZR
30 * .. External Subroutines
..
33 * .. Intrinsic Functions
..
34 INTRINSIC DBLE
, DCMPLX
, DIMAG
36 * .. Executable Statements
..
38 CALL DLADIV
( DBLE
( X
), DIMAG
( X
), DBLE
( Y
), DIMAG
( Y
), ZR
,
40 ZLADIV
= DCMPLX
( ZR
, ZI
)