aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aandkl.x
blob: c178aa21aae89288fa21b3934c4a67dda580d1dc (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.

# AANDK -- Compute the bitwise boolean 'and' of a vector and a constant
# (generic)

procedure aandkl (a, b, c, npix)

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

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