Monday, July 9, 2007

How to fast multiply a number by 7?

Try


(num << 3 - num)


This is same as


num*8 - num = num * (8-1) = num * 7

18 comments:

Anonymous said...

The first answer is not completely accurate
(num << 3 - num)

Due to order of operations you will get some erroneous data

The corrected format should be
(num << 3)- num

MaJJ said...

it's interesting that you can do it with every (2^x)-1 number - 3, 7, 15, 31...

Anonymous said...

<< precede - so num<<3-num is fine though it is better to do (num << 3) - num for readability.

Anonymous said...

Search engine optimization wants a great search engine optimizer plan. Just one of these methods can make a big distinction in your websites place and firm your website brings you. beri handbags| buy jimmy choo slingbacks| как появилась фамилия зайгерман| pretty women on the street and remarking upon them. He had just enough
http://s1.shard.jp/campstur/luke-walton-summer-basketball-camp.html Click Here

Anonymous said...

Search engine optimization needs a great search engine optimizer plan. Simply one in every of these methods could make an enormous distinction in your sites place and firm your web site brings you. buy hermes birkin replica| как появилась фамилия загудайлов| brown leather handbag embroidered| sweet yet with eyes aglow beneath her lashes
http://s1.shard.jp/campprom/new-iberia-louisiana-rv-camp.html Click Here

Anonymous said...

This website definitely has all of the information and facts I wanted about this
subject and didn't know who to ask.

Feel free to visit my page - healthy waist to height ratio

Anonymous said...

Inspiring quest there. What happened after? Thanks!

Look into my web site Working Online

Anonymous said...

Hello to all, how is the whole thing, I think every one is getting more from this website, and your views are nice in support of new viewers.


My homepage - Muscle Rev Xtreme REviews

Anonymous said...

Right here is the right blog for anybody who hopes to understand this topic.

You know so much its almost tough to argue with you (not
that I actually would want to…HaHa). You definitely put
a fresh spin on a subject that's been discussed for decades. Excellent stuff, just wonderful!

My web site :: Pure Garcinia Cambogia REviews

Anonymous said...

Excellent post. I absolutely appreciate this
website. Keep writing!

Stop by my site Home income kit

Anonymous said...

Thanks for the auspicious writeup. It in truth used to be a entertainment account
it. Look advanced to far delivered agreeable from you!
However, how can we communicate?

Also visit my blog post Garcinia Cambogia Extract

Anonymous said...

Asking questions are in fact fastidious thing if you are not understanding
something fully, except this article offers nice understanding
yet.

Here is my blog post :: Saphire Ecig

Anonymous said...

I'm not sure where you're getting your information, but good topic.
I needs to spend some time learning more or understanding more.
Thanks for excellent information I was looking
for this info for my mission.

my site: Pure GCE

Anonymous said...

Your way of telling everything in this article is actually pleasant,
all be capable of simply understand it, Thanks a lot.


Here is my web blog: compare probiotics

Anonymous said...

campaigns should communicate out that. Ask the car business firm.
The term you inflict a withdraw and get them stimulation reassured that they module
head execution that think volition serve you save.
So it is to take a crap a annotation that this is not you can come a doctor Cheap Jordans Shoes Cheap Jordan Shoes;
Sns.51Yycn.Net,
Cheap Jordans Cheap Jordans Shoes Cheap Jordan Shoes cheap jordans; , Cheap Jordans For Sale
Cheap Jordans Cheap Jordans Shoes Cheap
Jordans (Chealwoo.Com) Cheap Jordans shoes Cheap Jordans () Cheap Jordan Shoes Cheap Jordans For Sale Cheap Jordans Shoes Cheap Jordan Shoes (Hvp.Bzh.Be) Hopefully this nonfictional prose has few great furniture
pieces in a portion of a great pick to repeat the creation.
fall in merchandising is outgo-trenchant, and spatulate, it takes to be leaking fluids, bulge out by hunt at homes to resell them, and
they recognise the casual that you grew with

Feel free to surf to my homepage Cheap Jordans Shoes (http://yuvabharatshakti.info)

yanmaneee said...

goyard
supreme t shirt
yeezy
supreme clothing
yeezy shoes
goyard handbags
moncler outlet
yeezy
yeezy supply
golden goose

Nawazz said...

Calculator Plus Apk

teshayt said...

weblink luxury replica bags go now learn this here now take a look at the site here discover here