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

# APOW -- Compute a ** b, where b is of type INT (generic).

procedure apowd (a, b, c, npix)

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

begin
	do i = 1, npix
	    c[i] = a[i] ** b[i]
end