in reply to Re: unpacking unsigned long longs
in thread unpacking unsigned long longs

So I guess "Quad" means 4 int lengths? That makes sense, and also explains why I didn't find anything while searching through docs for "long long". Thanks!

Replies are listed 'Best First'.
Re^3: unpacking unsigned long longs
by ikegami (Patriarch) on Jul 06, 2009 at 16:06 UTC

    So I guess "Quad" means 4 int lengths?

    Both this question and your original question are very ambiguous.

    • A C int is at least 16 bits.
    • A C long is at least 32 bits.
    • A C long long is at least 64 bits.

    I can't divine what your language and compiler chooses for int and long long, so please stop asking question in terms of ints and ask them in terms of bits or bytes.

      I can't divine what your language and compiler chooses for int and long long, so please stop asking question in terms of ints and ask them in terms of bits or bytes.
      The point is that the size of an int or long long depends on which compiler you are using. So as you can see, it is better to discuss these things in terms of bits or bytes (not int and long long) since that makes it clear what you are talking about.
      Ok. Sure: I was asking if a Quad was 8 bytes long.
        yes. 64 bits / 8 bits/byte = 8 bytes