On Fri 22/05/09 03:39 , "CuppoJava" [email protected] 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---