aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/lz/amods.x
blob: 490d8ec57d4eb4a6b5f09c99993e290b5dc8412e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# AMOD -- Compute the modulus of two vectors (generic).

procedure amods (a, b, c, npix)

short	a[ARB], b[ARB], c[ARB]
int	npix, i

begin
	do i = 1, npix
	    c[i] = mod (a[i], b[i])
end