aboutsummaryrefslogtreecommitdiff
path: root/sys/vops/ak/aexpki.x
blob: 609b73c14b6c8365420fe9bd0b11706b60d3039d (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.

# AEXPK -- Compute a ** b, where b is a constant of type PIXEL (generic).

procedure aexpki (a, b, c, npix)

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

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