Newer
Older
libj / modules / j / base / test / test-lib / src / calc.c
Nomura Kei on 22 Jun 208 bytes update libj
int calc_add(int v1, int v2)
{
	return (v1 + v2);
}
int calc_sub(int v1, int v2)
{
	return (v1 - v2);
}
int calc_mul(int v1, int v2)
{
	return (v1 * v2);
}
int calc_div(int v1, int v2)
{
	return (v1 / v2);
}