feat: ensemble de fonctions permettant l'utilisation de fonctions mathématiques
This commit is contained in:
parent
816dc06152
commit
8bebcb0ccc
7
lib/math.c
Normal file
7
lib/math.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include "types.h"
|
||||
|
||||
u32 abs(int x)
|
||||
{
|
||||
if (x<0) x=-x;
|
||||
return (u32)x;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user