计算机实现加法

计算机实现加法 只需XOR和AND操作 static void Main(string[] args) { //目标:用位运算实现4+5的加法 //4 + 5 = 9 //4的二进制0000 0100 //5的二进制0000 0101 //1.先异或 2.与操作(判断是否进位) //0000 010
posted @ 2021-09-26 20:44  西瓜不懂柠檬的酸  Views(218)  Comments(0Edit  收藏  举报
levels of contents