Circular Shift Operator

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon Johnson

    #1

    Circular Shift Operator

    Is there an inbuilt circular shift operator in c#?

    I've googled it but because c# happens to be musical note.. i get a
    large noise to signal ratio :P

    Simon.
  • Ravikanth[MVP]

    #2
    Circular Shift Operator

    Hi

    In C# left and right shift operators are there.

    Check the following msdn article:
    http://msdn.microsoft.com/library/default.asp?
    url=/library/en-us/csspec/html/vclrfcsharpspec _7_8.asp

    Ravikanth[MVP]

    [color=blue]
    >-----Original Message-----
    >Is there an inbuilt circular shift operator in c#?
    >
    >I've googled it but because c# happens to be musical[/color]
    note.. i get a[color=blue]
    >large noise to signal ratio :P
    >
    >Simon.
    >.
    >[/color]

    Comment

    • Bret Mulvey

      #3
      Re: Circular Shift Operator

      Those aren't circular shift operators--they discard bits that shift out.

      I don't know of any circular shift operators in C#.

      "Ravikanth[MVP]" <dvravikanth@ho tmail.com> wrote in message
      news:043801c37d c6$0d3eec50$a00 1280a@phx.gbl.. .[color=blue]
      > Hi
      >
      > In C# left and right shift operators are there.
      >
      > Check the following msdn article:
      > http://msdn.microsoft.com/library/default.asp?
      > url=/library/en-us/csspec/html/vclrfcsharpspec _7_8.asp
      >
      > Ravikanth[MVP]
      >
      >[color=green]
      > >-----Original Message-----
      > >Is there an inbuilt circular shift operator in c#?
      > >
      > >I've googled it but because c# happens to be musical[/color]
      > note.. i get a[color=green]
      > >large noise to signal ratio :P
      > >
      > >Simon.
      > >.
      > >[/color][/color]


      Comment

      • Michael Mayer

        #4
        [OT] Re: Circular Shift Operator

        "Simon Johnson" <Ckwop@hotmail. com> wrote in message
        news:f5668ae7.0 309180011.6131c e98@posting.goo gle.com...
        [color=blue]
        > I've googled it but because c# happens to be musical note.. i get a
        > large noise to signal ratio :P[/color]

        Out of curiosity, what was your search? In almost of year of google C#
        searches, i don't remember coming up with one reference to music. (Kindof
        strange in retrospect).

        ....Amazon's support for 'C#' has been pretty abysmal until recently, but
        never had problems with google.

        -mike


        Comment

        Working...