summaryrefslogtreecommitdiffstats
path: root/src/common/div_ceil.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* general: Update style to clang-format-12ameerj2021-09-241-4/+4
|
* common/div_ceil: Return numerator typeReinUsesLisp2021-01-091-5/+5
| | | | | Fixes instances where DivCeil(u32, u64) would surprisingly return u64, instead of the more natural u32.
* common: Add Common::DivCeil and Common::DivCeilLog2ReinUsesLisp2020-11-261-0/+26
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.