aspose file tools*
The moose likes Java in General and the fly likes Unsigned Rightshift operator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unsigned Rightshift operator" Watch "Unsigned Rightshift operator" New topic

Unsigned Rightshift operator

Savith Kumar

Joined: Jun 05, 2002
Posts: 1
Hi All,
I have a question:
Where, when & why do we need unsigned rightshift operator?
Thanks in advance.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Any time that you need to divide by 2 (or 4 or 8 etc) and you don't care about the sign??
If you are working micro chips and space is a BIG concern, then bit operations become much more important.
Want to try programming your cell phone menu and find out??

"JavaRanch, where the deer and the Certified play" - David O'Meara
It is sorta covered in the JavaRanch Style Guide.
subject: Unsigned Rightshift operator