Anonymous user
Ethiopian multiplication: Difference between revisions
→{{header|C}}
Line 170:
void halve(int *x) { *x >>= 1; }
void doublit(int *x) { *x <<= 1; }
bool iseven(const int x) { return (x
int ethiopian(int plier,
|
Line 170:
void halve(int *x) { *x >>= 1; }
void doublit(int *x) { *x <<= 1; }
bool iseven(const int x) { return (x
int ethiopian(int plier,
|