ClojureDocs

导航

命名空间

add-exact

clojure.math

1.11 版本起引入
  • (add-exact x y)
Returns the sum of x and y, throws ArithmeticException on overflow.
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#addExact-long-long-