Solved

How to Left Shift 24 bits

Posted on 1997-08-14
2
179 Views
Last Modified: 2012-08-13
How can I left shift an integer 24 bits?
How can I left shift an integer 8 bits?
0
Comment
Question by:fury
2 Comments
 
LVL 2

Accepted Solution

by:
msiman earned 50 total points
ID: 1430848
for 24, multiple the number with 2^24=16777216
for 8 multiple it by 256=2^8

i.e. to shift by x bits, multiple by 2^x ok?

0
 

Author Comment

by:fury
ID: 1430849
I thought about this, just not sure..Thanks
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now