ClojureDocs

Nav

Namespaces

subtract-exact

clojure.math

Available since 1.11
  • (subtract-exact x y)
Returns the difference of x and y, throws ArithmeticException on overflow.
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#subtractExact-long-long-