Go to the documentation of this file.
5 #define Abs(i, flag) ((i) >= 0 ? (i): ((i) == (flag) ? (flag) : -(i)))
12 unsigned int safe_sub_uint(
unsigned int x,
unsigned int y,
bool *passed);
13 unsigned int safe_add_uint(
unsigned int x,
unsigned int y,
bool *passed);
14 unsigned int safe_div_uint(
unsigned int x,
unsigned int y,
bool *passed);
15 unsigned int safe_mod_uint(
unsigned int x,
unsigned int y,
bool *passed);
16 unsigned int safe_mul_uint(
unsigned int x,
unsigned int y,
bool *passed);
int safe_mod_int(int x, int y, bool *passed)
unsigned int safe_mod_uint(unsigned int x, unsigned int y, bool *passed)
unsigned int safe_add_uint(unsigned int x, unsigned int y, bool *passed)
int safe_div_int(int x, int y, bool *passed)
unsigned int safe_mul_uint(unsigned int x, unsigned int y, bool *passed)
unsigned int safe_div_uint(unsigned int x, unsigned int y, bool *passed)
int safe_add_int(int x, int y, bool *passed)
int safe_sub_int(int x, int y, bool *passed)
unsigned int safe_sub_uint(unsigned int x, unsigned int y, bool *passed)