by: Patrick Hoonhout |
last post by:
Hello,
Trying to get the bit offset value from a byte. For example:
0x1 = 0
0x2 = 1
0x4 = 2
0x8 = 3
0x10 = 4
...
|
by: Jerry |
last post by:
I want an algorithm that do arithmetic operations(divide,mutiply,add
etc.)just using bitwise operators:<<,>>,&,|,^;
For example,how "a/10" can be implemented.
I just want a hint.
Thanks.
|
by: David R. |
last post by:
I want to do bitwise operation on some large integers.
For example,
Response.Write CBool(2 AND 2^30) ' returns False
Response.Write CBool(2 AND 2^31) ' CRASHED!
Looks like the AND...
|
by: jerico |
last post by:
Hi.Given a number ,say 15, whose binary equivalent is 1111, how can the bit value of any position can be obtained using bitwise operators?Thanks for any help.
Jerico
|
by: John Dann |
last post by:
I'm trying to generate a 4-byte unsigned integer in VB2005 that
encodes a number of bit-level variables. What I need to do is to be
able to compute a value for the uint that is based on specific...
|
by: loudking |
last post by:
Hello, all.
I am not good at bitwise operation, so I wonder if some experts could
do me a help.
In a.c, somebody defined
================================================
# define u_int64...
|
by: Sakhtkoosh |
last post by:
I have written a program in C environment. I need to do operation on codes with more than 64 elements whose values are 0 and 1. At first, I simulated it with an array in 2 dimension(n*m) but after...
|
by: Eman Ahmed |
last post by:
Hi,All
I'm now working in project to compress a files.
And I used Huffman encoding to get new code for each character in the site.
but now I can't complete my project.
How can I use...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|