aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aborki.x
blob: 760debcc7c4c89ac9e2206e9d6a8195099c53894 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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