1SLADIV(1) LAPACK auxiliary routine (version 3.1) SLADIV(1)
2
3
4
6 SLADIV - complex division in real arithmetic a + i*b p + i*q =
7 --------- c + i*d The algorithm is due to Robert L
8
10 SUBROUTINE SLADIV( A, B, C, D, P, Q )
11
12 REAL A, B, C, D, P, Q
13
15 SLADIV performs complex division in real arithmetic in D. Knuth, The
16 art of Computer Programming, Vol.2, p.195
17
18
20 A (input) REAL
21 B (input) REAL C (input) REAL D (input) REAL
22 The scalars a, b, c, and d in the above expression.
23
24 P (output) REAL
25 Q (output) REAL The scalars p and q in the above expresâ
26 sion.
27
28
29
30 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006 SLADIV(1)