Last active
October 6, 2017 11:34
-
-
Save l1x/9af0067f066d9d2dca8f268b191cd6d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user=> Integer/MAX_VALUE | |
2147483647 | |
user=> (type Integer/MAX_VALUE) | |
java.lang.Integer | |
user=> (+ Integer/MAX_VALUE 1) | |
2147483648 | |
user=> (type (+ Integer/MAX_VALUE 1)) | |
java.lang.Long | |
user=> Long/MAX_VALUE | |
9223372036854775807 | |
user=> (+ Long/MAX_VALUE 1) | |
ArithmeticException integer overflow clojure.lang.Numbers.throwIntOverflow (Numbers.java:1501) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment