Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Bit operations for beginners

by ikegami (Patriarch)
on Jun 27, 2005 at 23:20 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://470415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2024-04-23 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found