When Overflow Is Desired
If you try to add two MAX_VALUE
Longs, Clojure is kind enough to warn you.
However, when overflow is desired, you can use the unchecked operators (e.g. unchecked-add
).
See also unchecked-subtract
and unchecked-multiply
.
Last updated