Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Robert Klemme Newsgroups: comp.lang.java.programmer Subject: Re: Java left shift and right shift operators. Date: Tue, 26 Apr 2011 22:06:55 +0200 Lines: 16 Message-ID: <91omv3Frl1U1@mid.individual.net> References: <295e16b3-2ed8-4529-bfb0-1cc26ed93ad6@d26g2000prn.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net aICEezhDV4Y+ZLCOJhyzLQEoK1DbM3DXW2+DIK0f8GZAOs08w= Cancel-Lock: sha1:D/dJUEWPilnXcWXDk8I3nJCW09A= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9 In-Reply-To: <295e16b3-2ed8-4529-bfb0-1cc26ed93ad6@d26g2000prn.googlegroups.com> X-Antivirus: avast! (VPS 110426-0, 26.04.2011), Outbound message X-Antivirus-Status: Clean Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3285 On 26.04.2011 09:38, Sanny wrote: > output = N<< shiftby; //[Not change in sign "<<" instead of">>"] I am not sure what you mean by that comment. Just for completeness reasons I want to make sure you are aware of operator ">>>": http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#5121 Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/