https://github.com/jarun/binprint
... because printf doesn't show the binary representation of a number
https://github.com/jarun/binprint
programming puzzle
Last synced: 3 months ago
JSON representation
... because printf doesn't show the binary representation of a number
- Host: GitHub
- URL: https://github.com/jarun/binprint
- Owner: jarun
- License: gpl-3.0
- Created: 2017-03-29T08:34:33.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-29T09:12:06.000Z (almost 9 years ago)
- Last Synced: 2024-12-30T19:42:47.386Z (about 1 year ago)
- Topics: programming, puzzle
- Language: C
- Homepage:
- Size: 17.6 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# binprint
... because printf doesn't show the binary representation of a number.
Range: 263 - 1 to -263
$ binprint 9223372036854775807
0b111111111111111111111111111111111111111111111111111111111111111
$ binprint -9223372036854775808
-0b1000000000000000000000000000000000000000000000000000000000000000
## Compilation
$ make
## License
**GPLv3**
Copyright © 2015 [Arun Prakash Jana](engineerarun@gmail.com)