Skip to content
quick utility for dealing with two's complement numbers. made for a homework
Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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
You can’t perform that action at this time.