-
-
Save ajchemist/7819471 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Usage: C-x h M-| bc RET | |
## i(in) o(out) | |
# Decimal to Binary | |
obase=2 | |
2 | |
4 | |
8 | |
16 | |
32 | |
64 | |
128 | |
# Decimal to Octal | |
obase=8 | |
2 | |
4 | |
8 | |
16 | |
32 | |
64 | |
128 | |
# Decimal to Octal | |
obase=16 | |
2 | |
4 | |
8 | |
16 | |
32 | |
64 | |
128 | |
# Hex to Decimal | |
obase=10 | |
ibase=16 | |
FFF | |
EEE | |
DDD | |
CCC | |
BBB | |
AAA | |
quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment