summaryrefslogtreecommitdiff
path: root/2.3-1/src/fortran/blas/dcabs1.f
diff options
context:
space:
mode:
Diffstat (limited to '2.3-1/src/fortran/blas/dcabs1.f')
-rw-r--r--2.3-1/src/fortran/blas/dcabs1.f8
1 files changed, 8 insertions, 0 deletions
diff --git a/2.3-1/src/fortran/blas/dcabs1.f b/2.3-1/src/fortran/blas/dcabs1.f
new file mode 100644
index 00000000..385ea5e1
--- /dev/null
+++ b/2.3-1/src/fortran/blas/dcabs1.f
@@ -0,0 +1,8 @@
+ double precision function dcabs1(z)
+ double complex z,zz
+ double precision t(2)
+ equivalence (zz,t(1))
+ zz = z
+ dcabs1 = dabs(t(1)) + dabs(t(2))
+ return
+ end