summaryrefslogtreecommitdiff
path: root/BLAS/SRC/dcabs1.f
blob: c4acbeb5ac3e4eac6083c53c64af4602a3505dce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
      DOUBLE PRECISION FUNCTION DCABS1(Z)
*     .. Scalar Arguments ..
      DOUBLE COMPLEX Z
*     ..
*     ..
*  Purpose
*  =======
*
*  DCABS1 computes absolute value of a double complex number 
*
*     .. Intrinsic Functions ..
      INTRINSIC ABS,DBLE,DIMAG
*
      DCABS1 = ABS(DBLE(Z)) + ABS(DIMAG(Z))
      RETURN
      END