summaryrefslogtreecommitdiffstats
path: root/src/common/div_ceil.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-09-24general: Update style to clang-format-12ameerj1-4/+4
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.