Search:

Type: Posts; User: shervan360

Search: Search took 0.07 seconds.

  1. Replies
    3
    Views
    614

    Re: Underflow in Byte

    Thank you for your answer, but I didn't understand well.
    Could you please more explain about it?

    The sign bit for the low order byte is 1 making it negative.
    Casting it to a byte throws away...
  2. Replies
    3
    Views
    614

    Underflow in Byte

    Hello,

    In the below code, we have underflow or overflow?
    Byte in java is 1 byte. It means the capacity of a byte is 0-255.
    400 - 256 (0 to 127 and -1 to -127). I expected we have 144. But we...
Results 1 to 2 of 2