diff options
Diffstat (limited to 'src/kernel/lib/math/pow.c')
-rw-r--r-- | src/kernel/lib/math/pow.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/kernel/lib/math/pow.c b/src/kernel/lib/math/pow.c deleted file mode 100644 index 5cdcfa5..0000000 --- a/src/kernel/lib/math/pow.c +++ /dev/null @@ -1,13 +0,0 @@ -int pow(int base, int exp) -{ - if (exp < 0) - return 0; - - if (!exp) - return 1; - - int ret = base; - for (int i = 1; i < exp; i++) - ret *= base; - return ret; -}
\ No newline at end of file |