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

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

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