Hi, I wanted to shave a few cycles of a "(quot n 2)" by using "(bit-shift-right n 1)" instead, with n being a bigint. However, this fails with an "IllegalArgumentException bit operation not supported for: class clojure.lang.BigInt clojure.lang.Numbers.bitOpsCast (Numbers.java:1008)". Since the underlying java types would support this [*], is there a good reason not to have those operators in clojure.lang.BigInt ?
Best Regards B. [*] http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html#shiftRight%28int%29 -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.