Mulitply by 7

Give a fast way to multiply a number by 7.

Answer:


#define MULTIPLY_BY_7(num) (num << 3) - num

No comments: