Commit Graph

3 Commits (f90d9808378092e208b431f467c54feb6952e91d)

Author SHA1 Message Date
ameerj 73666fb262 general: Update style to clang-format-12 3 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