3 * =========== DOCUMENTATION
===========
5 * Online html documentation available at
6 * http
://www
.netlib
.org
/lapack
/explore
-html
/
9 *> Download CLADIV
+ dependencies
10 *> <a href
="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cladiv.f">
12 *> <a href
="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/cladiv.f">
14 *> <a href
="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/cladiv.f">
21 * COMPLEX FUNCTION CLADIV
( X
, Y
)
23 * .. Scalar Arguments
..
33 *> CLADIV
:= X
/ Y
, where X and Y are
complex. The computation of X
/ Y
34 *> will not overflow on an intermediary step unless the results
49 *> The
complex scalars X and Y
.
55 *> \author Univ
. of Tennessee
56 *> \author Univ
. of California Berkeley
57 *> \author Univ
. of Colorado Denver
60 *> \
date November
2011
62 *> \ingroup complexOTHERauxiliary
64 * =====================================================================
65 COMPLEX FUNCTION CLADIV
( X
, Y
)
67 * -- LAPACK auxiliary routine
(version
3.4.0) --
68 * -- LAPACK is a software package provided by Univ
. of Tennessee
, --
69 * -- Univ
. of California Berkeley
, Univ
. of Colorado Denver and NAG Ltd
..--
72 * .. Scalar Arguments
..
76 * =====================================================================
81 * .. External Subroutines
..
84 * .. Intrinsic Functions
..
85 INTRINSIC AIMAG
, CMPLX
, REAL
87 * .. Executable Statements
..
89 CALL SLADIV
( REAL( X
), AIMAG
( X
), REAL( Y
), AIMAG
( Y
), ZR
,
91 CLADIV
= CMPLX
( ZR
, ZI
)