ClojureDocs

导航

命名空间

floor-mod

clojure.math

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-