TSP (libtsp/MS) - MSiPower

## MSiPower

#### Routine

int MSiPower (int a, int n)

#### Purpose

Integer raised to an integer power

#### Description

This routine calculates a raised to the n'th power. Zero raised to the zero'th power is returned as one.

#### Parameters

<- int MSiPower
  Returned integer value
-> int a
  Input value
-> int n
  Integer exponent

#### Author / revision

P. Kabal Copyright (C) 1994 / Revision 1.2 1994/03/30

Main Index libtsp