Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我很难理解这一点,希望有人能纠正我。A BYTE 定义为 0 - 2^7 ?这将是 128,即 8 位,对吗?但这不可能是正确的,因为我现在将 255 的值存储到 BYTE 中?任何朝着正确方向的踢都是有帮助的
一个无符号字节是 2^8 = 256,但是如果你必须存储符号,你需要牺牲一点,那么你有 +- 2^7 = -127 + 128。