aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aandl.x
blob: 95990efcd001af65887964ac887ab0e61962f44c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# AAND -- Compute the bitwise boolean 'and' of two vectors (generic).

procedure aandl (a, b, c, npix)

long	a[ARB], b[ARB], c[ARB]
int	npix, i
long	andl()

begin
	do i = 1, npix {
		c[i] = andl (a[i], b[i])
	}
end