From eed77bd2970a00d1394ed027ceca5b646e4671ce Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jun 2020 18:31:46 +0200 Subject: Started rewrite --- src/kernel/lib/math/pow.c | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/kernel/lib/math/pow.c (limited to 'src/kernel/lib/math') 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 -- cgit v1.2.3