(rontolisp) docs
← Numbers and predicates

unchecked-inc

(unchecked-inc x)

Answers x plus one of integers wrapped to 64 bits, so (unchecked-inc 9223372036854775807) is -9223372036854775808. A double or a ratio takes the plain result. nil and non-numbers signal. As a value a one-argument function.

An integer past 64 bits is a plain integer here, so the oracle's unwrapped bigint (100000000000000000000N) wraps too.