I am currently reading Hacker's Delight and would like to practice as I read through the book.
Is there any command line *nix tool to perform binary operations and see output in binary?
I am currently reading Hacker's Delight and would like to practice as I read through the book. Is there any command line *nix tool to perform binary operations and see output in binary? |
|||
|
I don't know about a commandline utility, but if you fire up Python in interactive mode you can define integers as bit patterns by preceeding them with
( |
|||
|