dladiv.f (3) Linux Manual Page
dladiv.f –
Synopsis
Functions/Subroutines
subroutine dladiv (A, B, C, D, P, Q)DLADIV performs complex division in real arithmetic, avoiding unnecessary overflow.
Function/Subroutine Documentation
subroutine dladiv (double precisionA, double precisionB, double precisionC, double precisionD, double precisionP, double precisionQ)
DLADIV performs complex division in real arithmetic, avoiding unnecessary overflow. Purpose:
DLADIV performs complex division in real arithmetic
a + i*b
p + i*q = ———
c + i*d
The algorithm is due to Robert L. Smith and can be found
in D. Knuth, The art of Computer Programming, Vol.2, p.195
Parameters:
- A
A is DOUBLE PRECISION
BB is DOUBLE PRECISION
CC is DOUBLE PRECISION
DD is DOUBLE PRECISION
P
The scalars a, b, c, and d in the above expression.P is DOUBLE PRECISION
QQ is DOUBLE PRECISION
The scalars p and q in the above expression.
Author:
- Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
- September 2012
Definition at line 91 of file dladiv.f.
