Preferred Bits Format
-
I prefer nibbles, this because more easy to convert them in brain who's into hex. 0101 0101 0101 0101
Even better: 0101 0101 0101 0101 It uses narrow space (U+2009 or HTML &thinspace;) between nibbles and normal space between bytes. For added emphasis you can use emspace (U+2003 or ) between bytes: 0101 0101 0101 0101
Mircea
-
Greetings Kind Regards May I please request preferred format of display of bits id est as a continuous string or as separate bytes exempli gratia "0101010101010101" or "01010101 01010101". Thank You Kindly
As Ox01AA said, bytes or nibbles work. And ideally it would be nice if endianness was indicated somehow.
Jeremy Falcon
-
Even better: 0101 0101 0101 0101 It uses narrow space (U+2009 or HTML &thinspace;) between nibbles and normal space between bytes. For added emphasis you can use emspace (U+2003 or ) between bytes: 0101 0101 0101 0101
Mircea
Look at that, them binary digits getting a haircut to be all fancy. :laugh:
Jeremy Falcon
-
Greetings Kind Regards May I please request preferred format of display of bits id est as a continuous string or as separate bytes exempli gratia "0101010101010101" or "01010101 01010101". Thank You Kindly
Would converting those nibbles to hex be more convenient? I mean more human-readable.
-
Look at that, them binary digits getting a haircut to be all fancy. :laugh:
Jeremy Falcon
We are just bit players, but stylish ones at that :laugh:
Mircea
-
Would converting those nibbles to hex be more convenient? I mean more human-readable.
I am writing a "super_format_integer" routine which generates every conceivable format string id est hex dec oct bin SI IEC words and provides every conceivable option for each base.
-
Greetings Kind Regards May I please request preferred format of display of bits id est as a continuous string or as separate bytes exempli gratia "0101010101010101" or "01010101 01010101". Thank You Kindly
My very first experience with programming was on a Univac 1100 system, so I'd prefer "010101 010101 0101xx". However, halfword support was somewhat limited on the U1100, so usually, it would be "010101 010101 010101 010101 010101 010101". For a more compact format, I would use octal: "444444". :-) (On the serious side: In the 1950s, 60s and to some degree the 70s, a lot of machine architectures were based on units of 3 bits - there were 12-bit, 18-bit, 24-bit, 36 and 72-bit register widths and instruction word sizes. There even was a 42-bit machine (GIER) - but it doesn't really count, as 42 bits only applied to float: A 10 bit exponent and a 32 bit mantissa.)
Religious freedom is the freedom to say that two plus two make five.
-
I am writing a "super_format_integer" routine which generates every conceivable format string id est hex dec oct bin SI IEC words and provides every conceivable option for each base.
Wow! Will be valuable if it comes up here on CP as an article.
-
Greetings Kind Regards May I please request preferred format of display of bits id est as a continuous string or as separate bytes exempli gratia "0101010101010101" or "01010101 01010101". Thank You Kindly
Groups of four bits are the quickest visual to understand: 0101 0101 0101 0101
There are no solutions, only trade-offs.
- Thomas SowellA day can really slip by when you're deliberately avoiding what you're supposed to do.
- Calvin (Bill Watterson, Calvin & Hobbes) -
Look at that, them binary digits getting a haircut to be all fancy. :laugh:
Jeremy Falcon
:laugh:
Software Zen:
delete this;