Open Bug 1507657 Opened 7 years ago Updated 3 years ago

Add some sort of integral ceiling-division template function

Categories

(Core :: MFBT, enhancement)

enhancement

Tracking

()

Tracking Status
firefox65 --- affected

People

(Reporter: Waldo, Unassigned)

Details

|(x + y - 1) / y| and (where |x != 0|) and |1 + (x - 1) / y| are not nearly as readable as regards their meaning as |CeilingDivision(x, y)| or something. We should add something like that so people aren't continually rewriting something unreadable.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.