if 107/9=11it's okif -107/9=-12how?
I don't see where's the problem. You always get the largest number which is smaller than or equal to the result, which is the behavior of java.lang.Math#floorDiv function.
java.lang.Math#floorDiv
See also MC-135431.
Reporter: migrated
Assignee: (Unassigned)
Created: 2019-12-15T13:06:19Z
Updated: 2026-08-04T20:59:47Z
Resolved: 2019-12-16T14:44:47Z
Confirmation Status: Unconfirmed
Affects Versions: 1.15.1 Pre-release 1
Retrieved 2026-10-10T19:03:20Z
I don't see where's the problem. You always get the largest number which is smaller than or equal to the result, which is the behavior of
java.lang.Math#floorDivfunction.See also MC-135431.