1 #include <libc/src/math.h> 2 #include <libc/src/stddef.h> 3 pow(int64_t x,int y)4 int64_t pow(int64_t x, int y) 5 { 6 int64_t res = 1; 7 for (int i = 0; i < y; ++i) 8 res *= x; 9 return res; 10 }