Topic: [求助]short类型的二进制负数表现 |
Print this page |
1.[求助]short类型的二进制负数表现 | Copy to clipboard |
Posted by: littledeer1974 Posted on: 2004-10-08 15:58 short 类,2字节, 负一是怎么表示的 1000 0000 0000 0001 是这样的吗? |
2.Re:(求助)short [Re: littledeer1974] | Copy to clipboard |
Posted by: Hanf Posted on: 2004-10-11 17:28 false,补码表示噢! -32768+1 |
3.Re:(求助)short [Re: littledeer1974] | Copy to clipboard |
Posted by: caleb Posted on: 2004-10-14 18:22 byte 1 --> 0000 0001 byte -1 --> 1111 1111 short 1 --> 0000 0000 0000 0001 short -1--> 1111 1111 1111 1111 |
4.Re:(求助)short [Re: caleb] | Copy to clipboard |
Posted by: littledeer1974 Posted on: 2004-10-14 23:24 超级感谢,这下彻底明白了 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |