summaryrefslogtreecommitdiff
path: root/src/common/div_ceil.h
AgeCommit message (Collapse)Author
2023-01-29Move to Clang Format 15Levi Behunin
Depends on https://github.com/yuzu-emu/build-environments/pull/69 clang-15 primary run
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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-12ameerj
2021-01-09common/div_ceil: Return numerator typeReinUsesLisp
Fixes instances where DivCeil(u32, u64) would surprisingly return u64, instead of the more natural u32.
2020-11-25common: Add Common::DivCeil and Common::DivCeilLog2ReinUsesLisp
Add an equivalent to 'Common::AlignUp(n, d) / d' and a log2 alternative.