Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re^2: Bit operations for beginners

by ikegami (Pope)
on Jun 27, 2005 at 23:20 UTC ( #470415=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
     p | q | p nand q
    p and q === (p nand q) nand (p nand q)
    p or q  === (p nand p) nand (q nand q)
    p xor q === (p nand (q nand q)) nand ((p nand p) nand q)
  2. or download this
     p | q | p nor q
    p and q === (p nor p) nor (q nor q)
    p or q  === (p nor q) nor (p nor q)
    p xor q === [something very long]

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://470415]
[Discipulus]: good (late) morning nuns and monks! bell didnt ring this morning..

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2017-10-19 07:21 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (251 votes). Check out past polls.