binary multiples, eh?

Multiplying in binary is pretty darn straightforward. If you multiply something by 0, you get zero. If you multiply something by 1, you get the same thing back.

This can be utilized in the standard long division format:

* 1011
+ 0100000

Easy, no?

Note that shifting a binary number to the left or right by a digit is equivalent to multiplying or dividing by two, respectively. (just like shifting the decimal point left or right with base 10 multiplies or divides by ten).

(A first attempt at Nodeshell rescue...)

Log in or register to write something here or to contact authors.