result digits
Issue #219
new
Originally reported on Google Code with ID 219
Insert an option to specify the shown digits for binary/hex/octal output
like for the decimal. It would be nice to have for
binary: 8,16,32,48,64 bit
hex: 2,4,8,... digits
If digits are specified, fill with leading zeros
Reported by christiangurk
on 2008-11-11 12:35:55
Comments (4)
-
Account Deleted -
Account Deleted ```
An option to always show the least power of 2 number of digits would be nice. E.g.
Sorry forgot to add...
with a minimum of 8 digits for binary. with a minimum of 2 digits for octal and hex. ```
Reported by `alan.n.davies` on 2008-12-05 11:27:19
-
Account Deleted ``` I'd like to see byte (or half-byte) grouping for the binary display, i.e. groups of 4 or 8 bits are separated by a whitespace:
bin 256 -> 0b00000001 00000000 (or: 0b0000 0001 0000 0000)
```
Reported by `1100101` on 2009-06-04 08:36:12
-
Account Deleted Reported by
helder.pereira.correia
on 2013-03-24 06:58:06 - Labels added: Type-Enhancement - Log in to comment
``` An option to always show the least power of 2 number of digits would be nice. E.g.
bin 128 -> 0b10000000
bin 255 -> 0b11111111
bin 256 -> 0b0000000100000000 # wont fit in 8 digits, so shows 16
bin 65535 -> 0b1111111111111111 # wont fit in 8 digits, so shows 16
bin 65536 -> 0b00000000000000010000000000000000 # wont fit in 16 digits, so shows 32
```
Reported by `alan.n.davies` on 2008-12-05 11:23:07