Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

There can be only one!

by c-era (Curate)
on May 16, 2000 at 19:07 UTC ( [id://11865]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: RE: There can be only one!
in thread There can be only one!

It shifts bits, not bytes. << moves the bits left and >> moves the bits right.
2<<4 #2 is 00000010 in binary, the <<4 moves the bits left 4,00100000 + which is 32 32>>3 #32 is 00100000 in binary, the >>3 moves the bits right 3, 00000 +100 which is 4
I hope this clears things up.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found