summaryrefslogtreecommitdiffstats
path: root/src/common/div_ceil.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-01-09common/div_ceil: Return numerator typeReinUsesLisp1-5/+5
Fixes instances where DivCeil(u32, u64) would surprisingly return u64, instead of the more natural u32.
2020-11-26common: Add Common::DivCeil and Common::DivCeilLog2ReinUsesLisp1-0/+26
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.