Menu

#1 twos complement and fraction bits

open
nobody
None
5
2008-05-29
2008-05-29
Anonymous
No

It would be nice to have the posibillity to print out numbers in two's complement format.

e.g.: 1 results in 0b0001
and -1 results in 0b1111

also nice would be to print fraction binary digits with a decimal point e.g.:

1/8 results in 0b0.001

regards
Bert

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.