KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
bit-manipulation
90 questions · page 2 of 2
Follow Tag
Sort by:
Newest
Votes
Active
27
votes
16
answers
Optimize me! (C, performance) -- followup to bit-twiddling question
c
performance
optimization
math
bit-manipulation
asked 2010-08-17T06:21:37.800
22
votes
7
answers
Weird behavior of right shift operator (1 >> 32)
c++
c
bit-manipulation
bit-shift
asked 2010-08-03T06:59:44.183
119
votes
3
answers
What is CHAR_BIT?
c
bit-manipulation
asked 2010-07-08T05:49:41.513
31
votes
2
answers
why is 1>>32 == 1?
java
bit-manipulation
asked 2010-07-03T05:24:50.910
27
votes
3
answers
How to de-interleave bits (UnMortonizing?)
bit-manipulation
z-order-curve
asked 2010-06-29T01:32:16.353
10
votes
5
answers
Number of bits to represent a number
javascript
bit-manipulation
bit
asked 2010-06-20T23:14:28.217
18
votes
4
answers
Extracting rightmost N bits of an integer
java
algorithm
bit-manipulation
asked 2010-05-09T15:50:36.557
23
votes
2
answers
Invert 1 bit in C#
c#
.net
bit-manipulation
asked 2010-04-09T08:12:35.313
32
votes
6
answers
Convert Byte Array to Bit Array?
c#
bit-manipulation
asked 2010-03-30T19:20:03.333
55
votes
5
answers
How to define and work with an array of bits in C?
c
arrays
multidimensional-array
bit-manipulation
bitarray
asked 2010-03-26T17:26:15.550
31
votes
3
answers
How do I perform an unsigned right shift (>>> in Java) in C/C++?
java
c
bit-manipulation
asked 2010-03-11T23:40:42.017
33
votes
9
answers
How to convert an int to a little endian byte array?
c#
bit-manipulation
asked 2010-02-28T04:38:59.937
31
votes
6
answers
Zig Zag Decoding
language-agnostic
bit-manipulation
protocol-buffers
bitfoo
zigzag-encoding
asked 2010-02-05T22:32:11.853
20
votes
7
answers
How do I represent and work with n-bit vectors in Python?
python
bit-manipulation
bitarray
bitvector
asked 2010-01-27T14:59:13.990
27
votes
2
answers
Bitwise operations in PHP?
php
bit-manipulation
asked 2010-01-25T11:02:23.660
15
votes
7
answers
C/C++ bitfields versus bitwise operators to single out bits, which is faster, better, more portable?
c++
c
bit-manipulation
bit-fields
asked 2010-01-24T14:09:50.513
20
votes
5
answers
javascript trunc() function
javascript
bit-manipulation
bitwise-operators
asked 2010-01-24T02:49:00.413
14
votes
2
answers
Very Compact Bitarray in Java
java
memory
bit-manipulation
bitset
bitarray
asked 2010-01-19T03:54:11.153
9
votes
7
answers
Generate a random binary number with a variable proportion of '1' bits
java
optimization
random
bit-manipulation
asked 2010-01-16T01:57:06.353
17
votes
13
answers
How do you randomly zero a bit in an integer?
c#
.net
vb.net
bit-manipulation
asked 2010-01-04T19:30:43.187
107
votes
16
answers
Catch and compute overflow during multiplication of two large integers
c
integer
bit-manipulation
multiplication
integer-overflow
asked 2009-11-29T12:14:59.330
37
votes
6
answers
Flags enum & bitwise operations vs. “string of bits”
c#
bit-manipulation
enum-flags
asked 2009-08-17T02:58:11.030
13
votes
15
answers
Swap bits in a number in C
c
bit-manipulation
asked 2009-07-28T07:48:36.647
54
votes
22
answers
How to add two numbers without using ++ or + or another arithmetic operator
c++
c
algorithm
bit-manipulation
asked 2009-07-19T13:45:57.170
36
votes
8
answers
Is & faster than % when checking for odd numbers?
python
performance
bit-manipulation
modulo
asked 2009-07-07T01:26:42.657
14
votes
9
answers
Calculating Hamming weight efficiently in matlab
matlab
bit-manipulation
bitstring
hammingweight
asked 2009-06-21T22:40:05.480
26
votes
6
answers
How can I set all bits to '1' in a binary number of an unknown size?
bit-manipulation
asked 2009-05-04T01:46:17.990
10
votes
7
answers
How do I set or clear the first 3 bits using bitwise operations?
language-agnostic
bit-manipulation
asked 2009-04-15T03:53:30.840
34
votes
14
answers
Find out number of bits needed to represent a positive integer in binary?
java
bit-manipulation
bit
asked 2009-03-25T02:20:49.347
69
votes
6
answers
Understanding PHP & (ampersand, bitwise and) operator
php
operators
bit-manipulation
bitwise-operators
asked 2009-03-01T18:06:53.207
135
votes
22
answers
C/C++ check if one bit is set in, i.e. int variable
c++
c
bit-manipulation
asked 2009-02-07T13:10:46.953
48
votes
14
answers
Fastest way to clamp a real (fixed/floating point) value?
c
numbers
bit-manipulation
clamp
asked 2009-01-09T09:13:11.693
60
votes
17
answers
Algorithm for finding the smallest power of two that's greater or equal to a given value
c++
algorithm
assembly
bit-manipulation
asked 2008-12-13T08:08:49.893
10
votes
6
answers
MySQL bitwise operations, bloom filter
mysql
bit-manipulation
asked 2008-12-11T20:54:38.640
42
votes
10
answers
When to use Bitwise Operators during webdevelopment?
bit-manipulation
asked 2008-11-04T06:21:45.460
36
votes
6
answers
Need help understanding "getbits()" method in Chapter 2 of K&R C
c
operators
bit-manipulation
bit-shift
complement
asked 2008-10-13T13:46:05.087
14
votes
10
answers
2.9999999999999999 >> .5?
javascript
bit-manipulation
precision
asked 2008-10-06T02:42:28.497
45
votes
12
answers
What's the fastest way to divide an integer by 3?
optimization
bit-manipulation
division
asked 2008-10-05T01:13:19.537
223
votes
11
answers
Most common C# bitwise operations on enums
c#
.net
enums
bit-manipulation
flags
asked 2008-09-18T15:46:20.073
9
votes
9
answers
bitwise indexing in C?
c
coding-style
bit-manipulation
asked 2008-09-15T13:09:32.253
← Prev
page 2 of 2