Skip to main content

floor-div

functionv1.11

clojure.math/floor-div

Available in:BBCLJ
(floor-div [x y])
Integer division that rounds to negative infinity (as opposed to zero). The special case (floorDiv Long/MIN_VALUE -1) overflows and returns Long/MIN_VALUE. See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorDiv-long-long-

No examples yet. Be the first to add one!