in reply to Bit operations for beginners

You have defined XOR as

Shouldn't XOR be defined as

`(a&b) | (~a&~b)`, surely this is the inverse of XOR ( the biconditional).Shouldn't XOR be defined as

`(a&~b) | (~a&b)`?Replies are listed 'Best First'. | |
---|---|

Re^2: Bit operations for beginners
by Cine (Friar) on Jun 19, 2005 at 11:57 UTC |

In Section
Meditations

Comment onRe: Bit operations for beginnersSelectorDownloadCode