ClojureDocs

Nav

Namespaces

floor-mod

clojure.math

Available since 1.11
  • (floor-mod x y)
Integer modulus x - (floorDiv(x, y) * y). Sign matches y and is in the
range -|y| < r < |y|.
See: https://docs.oracle.com/javase/8/docs/api/java/lang/Math.html#floorMod-long-long-