From e85b7dad26bcad41d9ac232e3e03af5b8f5865fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Mon, 2 Apr 2007 13:58:46 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20d=C3=A9claration=20de=20fonctions=20aya?= =?UTF-8?q?nt=20rapport=20avec=20les=20math=C3=A9matiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/math.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 include/math.h diff --git a/include/math.h b/include/math.h new file mode 100644 index 0000000..661e588 --- /dev/null +++ b/include/math.h @@ -0,0 +1,3 @@ +#define sgn(x) ((x<0)?-1:((x>0)?1:0)); + +u32 abs(int x);