Jul 4, 2006 #1 H Help Advanced Member level 2 Joined Feb 15, 2005 Messages 617 Helped 7 Reputation 14 Reaction score 3 Trophy points 1,298 Activity points 7,065 Hi, What is the XNOR equation in C programming? I already found out the equation: Y = (AxB) + (/A x /B) XNOR Table: AB | Y 00 | 1 01 | 0 10 | 0 11 | 1 eg. A = 0000 0001, B = 1000 0000 How can i get the answer Y? Thank You.
Hi, What is the XNOR equation in C programming? I already found out the equation: Y = (AxB) + (/A x /B) XNOR Table: AB | Y 00 | 1 01 | 0 10 | 0 11 | 1 eg. A = 0000 0001, B = 1000 0000 How can i get the answer Y? Thank You.
Jul 4, 2006 #2 I IanP Advanced Member level 7 Joined Oct 5, 2004 Messages 7,929 Helped 2,311 Reputation 4,624 Reaction score 531 Trophy points 1,393 Location West Coast Activity points 66,416 xnor equation Using binary notation: 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 ------------------ 0 1 1 1 1 1 1 0 In other words, you XNOR relevant bits of each number .. Regards, IanP
xnor equation Using binary notation: 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 ------------------ 0 1 1 1 1 1 1 0 In other words, you XNOR relevant bits of each number .. Regards, IanP
Jul 4, 2006 #3 S sanjiv Member level 1 Joined Jan 4, 2006 Messages 40 Helped 1 Reputation 2 Reaction score 0 Trophy points 1,286 Activity points 1,614 xnor c programming In C ^ is ex-or operator and ~ is complement to get ex-nor use ~(a^b)