aboutsummaryrefslogtreecommitdiff
path: root/math/ieee/chap1/r2tr.f
diff options
context:
space:
mode:
Diffstat (limited to 'math/ieee/chap1/r2tr.f')
-rw-r--r--math/ieee/chap1/r2tr.f16
1 files changed, 16 insertions, 0 deletions
diff --git a/math/ieee/chap1/r2tr.f b/math/ieee/chap1/r2tr.f
new file mode 100644
index 00000000..510763fe
--- /dev/null
+++ b/math/ieee/chap1/r2tr.f
@@ -0,0 +1,16 @@
+c
+c-----------------------------------------------------------------------
+c subroutine: r2tr
+c radix 2 iteration subroutine
+c-----------------------------------------------------------------------
+c
+c
+ subroutine r2tr(int, b0, b1)
+ dimension b0(2), b1(2)
+ do 10 k=1,int
+ t = b0(k) + b1(k)
+ b1(k) = b0(k) - b1(k)
+ b0(k) = t
+ 10 continue
+ return
+ end