Minimal-operation shift-and-add (or subtract)

Sep 01, 2016 20 Replies

If you mean 4 through 7 in a literal sense, that is scaling by those four numbers, 4 requires 2 shifts, 5 2 shifts and an add, 6 2 shifts and an add and seven needs 3 shifts and a subtract.

Hul

Tim Wescott wrote:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required