会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
西伯利亚虎
Blast away obstacles that stand in the way of what you want. Learn to keep faith, keep focused, and stand strong.
博客园
首页
新随笔
联系
订阅
管理
2019年4月20日
异或的性质及运用
摘要: 异或是一种基于二进制的位运算,用符号XOR或者 ^ 表示,其运算法则是对运算符两侧数的每一个二进制位,同值取0,异值取1。它与布尔运算的区别在于,当运算符两侧均为1时,布尔运算的结果为1,异或运算的结果为0。 简单理解就是不进位加法,如1+1=0,,0+0=0,1+0=1。 性质 1、交换律 2、结
阅读全文
posted @ 2019-04-20 14:42 西伯利亚虎
阅读(876)
评论(0)
推荐(0)
公告
Permanence, perseverance and persistence in spite of all obstacles, discouragements and impossibilities: It is this, that in all things distinguishes the strong soul from the weak.