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