我怎样才能简化这个按位方程?
我怎样才能将这个方程简化为其中
(x1^y1)&(x2^y2)=(x1^y1)
y2=( (x1^y1) | x1) ^ x1
^ 是异或,|
是 or 和 &
分别是 and 运算。
谢谢。
How can i simplify this equation from this
(x1^y1)&(x2^y2)=(x1^y1)
to this
y2=( (x1^y1) | x1) ^ x1
where ^
is xor, |
is or and &
is and operations respectively.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当
第一个方程成立 (
false = false
),但第二个方程成立 (true = false
) 时。您无法将第一个方程简化为第二个方程。
When
the first equation holds (
false = false
), but not the second (true = false
).You cannot simplify the first to the second equation.