HMSK 发表于 2016-9-14 16:42 负数的反码=负数的源码取反+1(不包括符号位) byte b = (byte)210; System.out.println(b);
Anand 发表于 2016-9-14 20:22 你说的是补码吧,反码不需要加1的