2007-04-02 15:58:46 +02:00
|
|
|
#define sgn(x) ((x<0)?-1:((x>0)?1:0));
|
|
|
|
|
|
|
|
u32 abs(int x);
|
2018-08-22 17:36:30 +02:00
|
|
|
random(u32 lower, u32 upper);
|
|
|
|
u32 rand();
|
|
|
|
void randomize();
|
2018-08-29 10:12:00 +02:00
|
|
|
u8 log2(u32 n);
|
|
|
|
u8 log10(u32 n);
|
2018-09-27 21:01:02 +02:00
|
|
|
unsigned long long __udivdi3 (unsigned long long num, unsigned long long den);
|
|
|
|
unsigned long long __umoddi3 (unsigned long long n, unsigned long long d);
|