Solved

How to Left Shift 24 bits

Posted on 1997-08-14
2
183 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

820 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