KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
bit-manipulation
90 questions · page 1 of 2
Follow Tag
Sort by:
Newest
Votes
Active
8
votes
2
answers
What does 'branching' mean in terms of setting/resetting bits?
c
bit-manipulation
branchless
asked 2013-07-23T07:25:43.647
11
votes
6
answers
Why "010" equals 8?
java
binary
format
bit-manipulation
asked 2013-07-04T12:05:47.027
10
votes
3
answers
Check if a bit is set only once in a series of bitsets
bit-manipulation
asked 2013-04-09T08:52:00.057
27
votes
3
answers
Java: right shift on negative number
java
bit-manipulation
bitwise-operators
bit-shift
negative-number
asked 2013-03-17T05:39:29.067
29
votes
1
answers
Calculating Hamming Weight in O(1)
algorithm
bit-manipulation
asked 2013-03-05T20:08:00.370
9
votes
2
answers
Correct usage of bitmask?
java
bit-manipulation
bitwise-operators
bit
bitmask
asked 2013-01-11T15:56:11.697
8
votes
3
answers
Java and unsigned values
java
bit-manipulation
asked 2013-01-02T20:55:36.120
32
votes
7
answers
Bits list to integer in Python
python
arrays
list
bit-manipulation
asked 2012-09-17T14:23:44.127
42
votes
5
answers
Bits counting algorithm (Brian Kernighan) in an integer time complexity
algorithm
bit-manipulation
asked 2012-09-12T02:31:58.147
19
votes
7
answers
Encoding int value as an IEEE-754 float (binary32)
c
floating-point
bit-manipulation
bitwise-operators
asked 2012-09-09T20:57:32.553
10
votes
3
answers
C bitwise negation creates negative output:
c
bit-manipulation
asked 2012-08-23T03:31:11.807
9
votes
3
answers
How to do bitwise unsigned (zero-fill) right shift in Dart?
bit-manipulation
dart
asked 2012-07-31T18:18:23.093
8
votes
1
answers
How to write a bitstream
c
bit-manipulation
bitstream
asked 2012-07-16T22:23:44.917
15
votes
1
answers
Python Unsigned Right Shift
python
operators
bit-manipulation
shift
asked 2012-07-10T16:51:33.153
47
votes
5
answers
Bitwise XOR of hexadecimal numbers
python
hex
bit-manipulation
xor
asked 2012-06-20T12:32:29.823
17
votes
14
answers
Count leading zeroes in an Int32
c#
count
int
bit-manipulation
leading-zero
asked 2012-05-03T20:59:23.780
25
votes
8
answers
Bitwise operations equivalent of greater than operator
c
binary
bit-manipulation
asked 2012-04-10T21:17:00.827
11
votes
2
answers
Using a bitwise & inside an if statement
java
c
if-statement
bit-manipulation
operator-keyword
asked 2012-04-08T15:43:03.467
13
votes
2
answers
Conditional Statement using Bitwise operators
c
conditional-statements
bit-manipulation
bitwise-operators
asked 2012-04-05T19:03:43.600
16
votes
4
answers
How to perform DB bitwise queries in Django?
django
bit-manipulation
asked 2012-03-29T07:51:43.103
9
votes
4
answers
What's the fastest way to do a right bit rotation/circular shift on a byte array
java
performance
optimization
bit-manipulation
asked 2012-03-22T15:23:23.460
8
votes
1
answers
Bitwise operations in Postgres
performance
postgresql
indexing
bit-manipulation
asked 2012-02-10T10:23:21.207
12
votes
3
answers
Can I convert a bunch of boolean columns to a single bitmap in PostgreSQL?
sql
postgresql
types
boolean
bit-manipulation
asked 2012-01-29T08:25:54.553
11
votes
3
answers
Bitwise or (|) in function argument
c++
c
bit-manipulation
asked 2012-01-08T13:42:39.117
30
votes
9
answers
How to create a byte out of 8 bool values (and vice versa)?
c++
boolean
bit-manipulation
bit-packing
asked 2011-12-11T00:53:36.703
12
votes
9
answers
How to check if a particular bit is set in C#
c#
bit-manipulation
bit
asked 2011-11-08T16:48:05.983
12
votes
2
answers
Bitwise subtraction
c#
bit-manipulation
bitmask
asked 2011-09-23T08:44:21.623
12
votes
4
answers
Java integer flag and bitwise operations for memory reduction
java
performance
memory-management
bit-manipulation
flags
asked 2011-09-14T11:29:04.197
40
votes
16
answers
Fast divisibility tests (by 2,3,4,5,.., 16)?
c++
c
math
assembly
bit-manipulation
asked 2011-08-01T09:32:56.630
16
votes
2
answers
Bitwise "~" Operator in C#
c#
binary
bit-manipulation
operator-keyword
asked 2011-07-25T02:12:07.440
28
votes
5
answers
Check value of least significant bit (LSB) and most significant bit (MSB) in C/C++
c++
c
integer
bit-manipulation
bit
asked 2011-07-11T08:52:55.043
30
votes
8
answers
f(int x) { return x == 0 ? 0 : 1; } in Java without conditionals
java
bit-manipulation
asked 2011-07-08T18:04:13.083
75
votes
8
answers
What does bitwise XOR (exclusive OR) mean?
math
language-agnostic
bit-manipulation
operators
xor
asked 2011-06-18T19:35:47.547
87
votes
7
answers
Efficiently find binary strings with low Hamming distance in large set
algorithm
bit-manipulation
bitwise-operators
hamming-distance
asked 2011-06-17T18:01:41.723
76
votes
9
answers
What does a bitwise shift (left or right) do and what is it used for?
bit-manipulation
bitwise-operators
bit-shift
asked 2011-06-17T12:35:03.910
13
votes
4
answers
Rounded division by power of 2
python
bit-manipulation
rounding
bitwise-operators
asked 2011-05-26T07:30:05.507
18
votes
7
answers
Testing for bitwise Enum values
c#
enums
comparison
bit-manipulation
bit
asked 2011-05-24T04:21:09.000
10
votes
2
answers
Replace least significant bit with bitwise operations
binary
bit-manipulation
bit-shift
boolean-operations
asked 2011-05-19T13:30:30.210
11
votes
4
answers
fastest way to write a bitstream on modern x86 hardware
c++
optimization
x86
bit-manipulation
asked 2011-04-18T14:41:51.680
10
votes
1
answers
Java Bit Manipulation - What does (num >>= 1) do?
java
bit-manipulation
bit-shift
asked 2011-04-08T03:21:41.050
9
votes
4
answers
Adding versus ORing performance
c
bit-manipulation
compiler-optimization
addition
asked 2011-04-04T01:23:12.700
13
votes
3
answers
Bit twiddling for checking whether a number is in particular range
c++
c
algorithm
bit-manipulation
asked 2011-01-01T10:14:15.577
78
votes
6
answers
warning: left shift count >= width of type
c
bit-manipulation
long-integer
bit-shift
asked 2010-11-17T03:48:22.967
78
votes
5
answers
How does an arithmetic bit-shift affect a signed integer?
c
bit-manipulation
bit-shift
asked 2010-10-24T19:05:38.847
11
votes
12
answers
Integer Byte Swapping in C++
c++
byte
bit-manipulation
asked 2010-10-12T15:08:51.363
27
votes
14
answers
Check if a number is non zero using bitwise operators in C
c
bit-manipulation
asked 2010-10-12T06:18:34.247
17
votes
7
answers
How can I use bit shifting to replace integer division?
c++
bit-manipulation
integer-division
asked 2010-10-03T16:55:16.440
10
votes
6
answers
Swapping pair of bits in a Byte
bit-manipulation
asked 2010-09-21T08:10:20.617
10
votes
3
answers
Is there another way to test Enum bit fields?
c#
enums
bit-manipulation
asked 2010-09-16T20:33:02.223
9
votes
1
answers
Logical, arithmetical bitwise shifts
c
bit-manipulation
bit-shift
asked 2010-09-13T17:49:30.127
page 1 of 2
Next →