Results 1 to 10 of 39

Hybrid View

  1. #1
    Player Mhaeric's Avatar
    Join Date
    Apr 2012
    Location
    Vancouver, BC
    Posts
    2,141
    Character
    Mhaeric Llystrom
    World
    Balmung
    Main Class
    Red Mage Lv 97
    Quote Originally Posted by Callinon View Post
    Well no... an 8-bit number can store exactly 8 zeroes and ones.
    I didn't say how many 0s and 1s an 8-bit number can hold. I said how large a list of 1s and 0s (i.e. booleans) that an 8-bit binary number could store. You seem to understand just fine that I was referring to a bit array given your bitvector comment, so I'm not sure why you even mentioned this.
    (0)

  2. #2
    Player
    Callinon's Avatar
    Join Date
    May 2014
    Location
    ???
    Posts
    1,557
    Character
    Callinon Soulforge
    World
    Ultros
    Main Class
    Dancer Lv 90
    Quote Originally Posted by Mhaeric View Post
    I didn't say how many 0s and 1s an 8-bit number can hold. I said how large a list of 1s and 0s (i.e. booleans) that an 8-bit binary number could store. You seem to understand just fine that I was referring to a bit array given your bitvector comment, so I'm not sure why you even mentioned this.
    Maybe I'm not understanding you. An 8-bit number looks like this:
    00000000 (0)
    all the way up to
    11111111 (255)

    That's 8 bits you have to work with in there, therefore 8 points of data that can be either on or off. Which bits toggled on changes the decimal value of the number, but it's still just 8 points of data:
    10011001 (153)

    In this way we can represent 8 boolean values in a single space instead of 8 different spaces.

    I think we're talking about the same thing with different words.
    (0)