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

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

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