> But I don't know what the plan is if you really do want truncating
> arithmetic on longs.

On 1.3 alpha 4:

user=> (+ Long/MAX_VALUE Long/MAX_VALUE)
ArithmeticException integer overflow
clojure.lang.Numbers.throwIntOverflow (Numbers.java:1581)

user=> (set! *unchecked-math* true)
true

user=> (+ Long/MAX_VALUE Long/MAX_VALUE)
-2

-Jason

-- 
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

Reply via email to