11 lines
167 B
C
11 lines
167 B
C
|
#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
|