1 2 3 4 5 6 7 8 9 10
#ifndef INTTOOLS_H #define INTTOOLS_H // return smallest power of 2 that is larger than x int smallest_pow2(int x); // integer power int ipow(int x, int n); #endif