← Winnitude! Search  ·  Reader Mode (512 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 77 LINKS

Python/bit_manipulation at master · TheAlgorithms/Python

Repository navigation

bit_manipulation

Directory actions

More options

Directory actions

More options

Latest commit

 

History


History
View commit history for this file.

bit_manipulation

Folders and files

Name Name Last commit message Last commit date

parent directory

..
README.md README.md    
__init__.py __init__.py    
binary_and_operator.py binary_and_operator.py    
binary_coded_decimal.py binary_coded_decimal.py    
binary_count_setbits.py binary_count_setbits.py    
binary_count_trailing_zeros.py binary_count_trailing_zeros.py    
binary_or_operator.py binary_or_operator.py    
binary_shifts.py binary_shifts.py    
binary_twos_complement.py binary_twos_complement.py    
binary_xor_operator.py binary_xor_operator.py    
bitwise_addition_recursive.py bitwise_addition_recursive.py    
count_1s_brian_kernighan_method.py count_1s_brian_kernighan_method.py    
count_number_of_one_bits.py count_number_of_one_bits.py    
excess_3_code.py excess_3_code.py    
fast_walsh_hadamard_transform.py fast_walsh_hadamard_transform.py    
find_previous_power_of_two.py find_previous_power_of_two.py    
find_unique_number.py find_unique_number.py    
gray_code_sequence.py gray_code_sequence.py    
highest_set_bit.py highest_set_bit.py    
index_of_rightmost_set_bit.py index_of_rightmost_set_bit.py    
is_even.py is_even.py    
is_power_of_two.py is_power_of_two.py    
largest_pow_of_two_le_num.py largest_pow_of_two_le_num.py    
missing_number.py missing_number.py    
next_power_of_two.py next_power_of_two.py    
numbers_different_signs.py numbers_different_signs.py    
parity.py parity.py    
power_of_4.py power_of_4.py    
reverse_bits.py reverse_bits.py    
rotate_bits.py rotate_bits.py    
single_bit_manipulation_operations.py single_bit_manipulation_operations.py    
swap_all_odd_and_even_bits.py swap_all_odd_and_even_bits.py    
xor_swap_two_integers.py xor_swap_two_integers.py    

README.md

Bit manipulation

Bit manipulation is the act of manipulating bits to detect errors (hamming code), encrypts and decrypts messages (more on that in the 'ciphers' folder) or just do anything at the lowest level of your computer.