Top "Bit" questions

A bit is a single binary digit.

What is lower and higher bits?

Can anyone tell me what is lower and higher bits?. How to identify a higher and lower bit?. Below is …

binary bit-manipulation bit
Do gamma rays from the sun really flip bits every once in a while?

Possible Duplicate: Cosmic Rays: what is the probability they will affect a program? Is this just a tongue in cheek …

bit flip
The difference between logical shift right, arithmetic shift right, and rotate right

I've been reading the classic Hacker's delight and I am having trouble understanding the difference between logical shift right,arithmetic …

bit-manipulation bitwise-operators bit bit-shift
Convert an integer to binary without using the built-in bin function

This function receives as a parameter an integer and should return a list representing the same value expressed in binary …

python list binary converter bit
C/C++ Bit Array or Bit Vector

I am learning C/C++ programming & have encountered the usage of 'Bit arrays' or 'Bit Vectors'. Am not able …

c++ c bit bitarray bitvector
Why do C compilers specify long to be 32-bit and long long to be 64-bit?

Wouldn't it have made more sense to make long 64-bit and reserve long long until 128-bit numbers become a reality?

c 32bit-64bit long-integer bit long-long
How can I cast an int to a bit in MySQL 5.1?

I am transitioning from SQL Server to MySQL 5.1 and seem to be tripped up trying to create a table using …

mysql casting bit mysql-5.1
What is the binary representation of a boolean value in c#

I know that a boolean value is 1 byte (8 bits long) But I would like to know is what is its …

c# binary bit boolean representation
Can a public key have a different length (encryption) than the private key?

I have a 1024 bits private key, and use it to generate a public key. Does that automatically mean that my …

encryption cryptography bit public-key-encryption private-key
How to check if a particular bit is set in C#

In C#, I have a 32 bit value which I am storing in an int. I need to see if a …

c# bit-manipulation bit