cos2000v2/lib/math.c
Nicolas Hordé b09af8b250 fix: correction pour adaptation sous Linux, passage au format ELF
BREAKING CHANGE: attention modification majeure du code
2018-07-24 04:04:07 +02:00

8 lines
77 B
C
Executable File

#include "types.h"
u32 abs(int x)
{
if (x<0) x=-x;
return (u32)x;
}