diff options
author | Marvin Borner | 2020-08-15 17:42:36 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-15 17:42:36 +0200 |
commit | 9f16b032d38613ca95e321e1d1e652c43129c68b (patch) | |
tree | 33f71a84f60b496ed31a128ec542c5341c754b0d /lib/math.c | |
parent | 32b8722128dfb4ca9e814940a23c2b22a283bb12 (diff) |
Added libgui
Diffstat (limited to 'lib/math.c')
-rw-r--r-- | lib/math.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/math.c b/lib/math.c deleted file mode 100644 index 9cd9cea..0000000 --- a/lib/math.c +++ /dev/null @@ -1,15 +0,0 @@ -// MIT License, Copyright (c) 2020 Marvin Borner - -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; -} |