ClojureDocs

Nav

Namespaces

increment-exact

clojure.math

Available since 1.11
  • (increment-exact a)
Returns a incremented by 1, throws ArithmeticException on overflow.
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#incrementExact-long-