ClojureDocs

Nav

Namespaces

Take the 2025 State of Clojure Survey! Help shape the future of Clojure. Take Survey →

unchecked-negate-int

clojure.core

Available since 1.0 (source)
  • (unchecked-negate-int x)
Returns the negation of x, an int.
Note - uses a primitive operator subject to overflow.