cos2000v2/include/math.h

4 lines
96 B
C
Executable File

#define sgn(x) ((x<0)?-1:((x>0)?1:0));
u32 abs(int x);