GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Python_Algorithms/bit_manipulation at master · feitian19873000/Python_Algorithms

Expand file tree

/

bit_manipulation

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

bit_manipulation

/
Copy path

Folders and files

NameName
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
 
 
find_previous_power_of_two.py
find_previous_power_of_two.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
 
 
numbers_different_signs.py
numbers_different_signs.py
 
 
power_of_4.py
power_of_4.py
 
 
reverse_bits.py
reverse_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
 
 

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.

  • https://en.wikipedia.org/wiki/Bit_manipulation
  • https://docs.python.org/3/reference/expressions.html#binary-bitwise-operations
  • https://docs.python.org/3/reference/expressions.html#unary-arithmetic-and-bitwise-operations
  • https://docs.python.org/3/library/stdtypes.html#bitwise-operations-on-integer-types
  • https://wiki.python.org/moin/BitManipulation
  • https://wiki.python.org/moin/BitwiseOperators
  • https://www.tutorialspoint.com/python3/bitwise_operators_example.htm
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.