Top "Bit" questions

A bit is a single binary digit.

C unsigned int array and bit shifts

If i have an array of short unsigned ints. Would shifting array[k+1] left by 8 bits, put 8 bits into the …

c arrays int bit shift
Order of fields when using a bit field in C

I have a struct of the following type typedef struct { unsigned int a : 8; unsigned int b : 6; unsigned int c : 2; }x, *…

c gcc bit-manipulation bit bit-fields
Python - check if a system is 32 or 64 bit to determine whether to run the function or not?

Possible Duplicate: How do I determine if my python shell is executing in 32bit or 64bit mode? I made a …

python architecture bit
What does B stand for in MB/GB, bit or byte?

In PC properties (i.e. My Computer -> Properties), what does B stand for in MB or GB. Does …

byte bit
Testing for bitwise Enum values

I haven't really used bitwise enums before, and I just want to make sure my testing is correct. I am …

c# enums comparison bit-manipulation bit
Start and Stop Bit (Serial Communication)

What will happen if there is no Start and Stop Bit in Serial Communication? What is the use of Start …

communication bit serial-communication
Swap two bits with a single operation in C?

Let's say I have a byte with six unknown values: ???1?0?? and I want to swap bits 2 and 4 (without changing any …

c arduino bit bit-manipulation
How is arctan implemented?

Many implementation of the library goes deep down to FPATAN instuction for all arc-functions. How is FPATAN implemented? Assuming that …

algorithm floating-point trigonometry bit processor
Bit parity code for odd number of bits

I am trying to find the parity of a bitstring so that it returns 1 if x has an odd # of 0…

c bit-manipulation bit parity
mySQL SELECT rows where a specific bit of an integer is set

i have to do a select query in a posting table where a specific bit of an integer is set. …

mysql select integer bit