cos2000v2/include/math.h

7 lines
156 B
C
Raw Normal View History

#define sgn(x) ((x<0)?-1:((x>0)?1:0));
u32 abs(int x);
random(u32 lower, u32 upper);
u32 rand();
void randomize();