On Fri 22/05/09 03:39 , "CuppoJava" patrickli_2...@hotmail.com sent:
>
> Hi everyone,
> I'm just wondering where the equivalent of the ">>>"
> operator is forClojure. I need it to do a divide-by-power-of-2 on unsigned
> bytes.
Java doesn't have this either. Its >>> operator doesn't work properly on
bytes. It promotes them to a
signed int, then unsigned shifts them, then casts them back to a signed byte -
leaving >>> behaving exactly
the same as >>.
--
Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---