aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aborki.x
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vops/ak/aborki.x')
-rw-r--r--sys/vops/ak/aborki.x18
1 files changed, 18 insertions, 0 deletions
diff --git a/sys/vops/ak/aborki.x b/sys/vops/ak/aborki.x
new file mode 100644
index 00000000..760debcc
--- /dev/null
+++ b/sys/vops/ak/aborki.x
@@ -0,0 +1,18 @@
+# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
+
+# ABORK -- Compute the bitwise boolean or of a vector and a constant
+# (generic).
+
+procedure aborki (a, b, c, npix)
+
+int a[ARB]
+int b
+int c[ARB]
+int npix, i
+int or()
+
+begin
+ do i = 1, npix {
+ c[i] = or (a[i], b)
+ }
+end