Like other mentioned in the thread, Java has neither the >>> operator,
nor unsigned data types.

With that said, I think the function you are looking for is bit-shift-
right:

user> (bit-shift-right 2r1110 1)
7

I hope this helps.

Vincent.

On May 21, 9:39 pm, CuppoJava <patrickli_2...@hotmail.com> wrote:
> Hi everyone,
> I'm just wondering where the equivalent of the ">>>" operator is for
> Clojure. I need it to do a divide-by-power-of-2 on unsigned bytes.
>   -Patrick
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to