====== ipow ====== {{tag>math}} ''int ipow(int x, int power)'' ===== Description ===== Returns x raised to the integer power. Only positive powers are supported. For a version with fixed-number base (e.g. 0.5^y), see [[fpow]]. ===== Examples ===== ipow(2, 3) -> 8 ipow(2, 1) -> 2 ipos(2, 0) -> 1