Great, I think I am getting it somehow, albeit in a random way... I can summarize this as follows
#working in octets of bits. 01-shift $! bits to the right. #zeroing on target 02-spread &ing carpet under the target #2**(No.of bits) #carpet size is (1,4,8,16,32) that covers 1,2,3,4..etc bits #from the second bit the relation is (2**2, 2**3, #2**4...2**32) i.e. +2**(bit position). 03-&ing makes us extract the bits we want #(shifted bits)*(appropriate carpet size)=(C or SSs or EEs)
does this seem all there is to it??? p.s. I don't know anything about carpets by the way except that they are spread or pinned on to a wall

In reply to Re^4: Shift Operators And Bitwise Operators by biohisham
in thread Shift Operators And Bitwise Operators by biohisham

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.