Talk:Bit-length
Latest comment: 3 years ago by Nealmcb in topic Bit-length of a binary string
This article has not yet been rated on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||
|
Bit-length of a binary string
editThe most generic definition for bit-length is using bit strings as reference, instead Natural numbers. The formula with integer log2 is not valid for bit sitrings because its length can be bigger, as in the 0001
here the bit-length is 4 not 1. Krauss (talk) 11:05, 15 April 2019 (UTC)
- Do you have a citation defining it that way? The usages I see match the current Wolfram definition which is with respect to the information that is to be encoded, not the actual representation chosen in a particular implementation. For measuring hardware, I'd use normal measurement terms with units: 8-bit bytes have a width of 8 bits. They can represent all integers with a bit-length less than or equal to 8.★NealMcB★ (talk) 18:19, 24 January 2021 (UTC)