https://kotlinlang.org logo
i

ilya.gorbunov

08/15/2016, 5:50 PM
And if
Long.MAX_VALUE
is not sufficiently infinite, you can use
BigInteger
. It doesn't have
MAX_VALUE
at all.