aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aandks.x
blob: 03a64dcbe57c5516620b0db46b6a3153393099d1 (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 aandks (a, b, c, npix)

short	a[ARB]
short	b
short	c[ARB]
int	npix, i
short	ands()

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