A Python package for floating-point binary fractions. Do math in base 2!
-
Updated
Aug 3, 2022 - Python
A Python package for floating-point binary fractions. Do math in base 2!
Python examples demonstrating one's complement and two's complement arithmetic, including subtraction operations, overflow detection, and range calculations.
Educational Python code comparing unsigned, signed magnitude, and two's complement number representations with practical range and conversion examples.
Add a description, image, and links to the twos-complement topic page so that developers can more easily learn about it.
To associate your repository with the twos-complement topic, visit your repo's landing page and select "manage topics."