From 2f712d027b38bebd571e4fa673f0d642b59e3c98 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 21 Apr 2021 13:18:01 +0200 Subject: Refactoring --- src/libs/math.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/libs/math.hpp') 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); -- cgit v1.2.3