Closed KBone12 closed 3 years ago
配線を分配できないという条件を考えても、次の実装の方が Nand の数が少なくなるので、実装を変更する。
fn xor(a: bool, b: bool) -> bool { nand(nand(a, not(b)), nand(not(a), b)) }
配線を分配できないという条件を考えても、次の実装の方が Nand の数が少なくなるので、実装を変更する。