aboutsummaryrefslogtreecommitdiff
path: root/src/libs/math.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2021-04-21 13:18:01 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2021-04-21 13:18:01 +0200
commit2f712d027b38bebd571e4fa673f0d642b59e3c98 (patch)
tree2dc9e1b7a2e11b0300b461ea3fc590ad52db3137 /src/libs/math.hpp
parentd9443c7fdf756212bb52ffc934b1166038bc2ad3 (diff)
Refactoring
Diffstat (limited to 'src/libs/math.hpp')
-rw-r--r--src/libs/math.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libs/math.hpp b/src/libs/math.hpp
index 1eaac1c..c5b7c46 100644
--- a/src/libs/math.hpp
+++ b/src/libs/math.hpp
@@ -1,6 +1,8 @@
#pragma once
-int pow(int x, int n);
-int max(int x, int y);
-int min(int x, int y);
-int abs(int x);
+#include "core/types.hpp"
+
+u32 pow(u32 x, u32 n);
+u32 max(u32 x, u32 y);
+u32 min(u32 x, u32 y);
+u32 abs(u32 x);