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

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

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