Commit Graph

3 Commits (04afcfe115f4d3f0b10b59a767297b4f515f6b0b)

Author SHA1 Message Date
ameerj 73666fb262 general: Update style to clang-format-12 4 years ago
ReinUsesLisp c190586597 common/div_ceil: Return numerator type
Fixes instances where DivCeil(u32, u64) would surprisingly return u64,
instead of the more natural u32.
4 years ago
ReinUsesLisp 630823e363 common: Add Common::DivCeil and Common::DivCeilLog2
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.
4 years ago