quick utility for dealing with two's complement numbers. made for a homework
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE.txt
README.md
twos.rb

README.md

A quick utility for dealing with two's complement numbers. Made to help me with some homework.

Usage:

ruby twos.rb -b 1001    # -7
ruby twos.rb -r 4       # -8 to 7