wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unsigned Rightshift operator" Watch "Unsigned Rightshift operator" New topic
Author

Unsigned Rightshift operator

Savith Kumar
Greenhorn

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

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
 
jQuery in Action, 2nd edition
 
subject: Unsigned Rightshift operator
 
Similar Threads
Rules Roundup #305
signed shift operator ?
Java Sets Project
unsigned right shift
unsigned right shift operator