ClojureDocs

导航

命名空间

increment-exact

clojure.math

从 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-