Search:

Type: Posts; User: zacs7

Search: Search took 0.04 seconds.

  1. Thread: CheckSum help

    by zacs7
    Replies
    13
    Views
    3,691

    > (Shifting signed things is undefined. Bitwise...

    > (Shifting signed things is undefined. Bitwise operations are well-defined on signed types.)
    I *was* talking about the shift, specifically (signed char / int) ReqMsg[i] >> 8;

    And according to...
  2. Thread: CheckSum help

    by zacs7
    Replies
    13
    Views
    3,691

    > Is the below possible? No for the reason I...

    > Is the below possible?
    No for the reason I mentioned above.
  3. Thread: CheckSum help

    by zacs7
    Replies
    13
    Views
    3,691

    It should be an unsigned char since bitwise ops...

    It should be an unsigned char since bitwise ops on signed types are undefined.
Results 1 to 3 of 3