aboutsummaryrefslogtreecommitdiffstats
path: root/common/albit.h
Commit message (Collapse)AuthorAgeFilesLines
* constexpr functions are not allowed to have static variables, and if they ↵Glyn Leine2022-03-291-4/+4
| | | | are constexpr anyways then them being static has no benifit (#677)
* Make some local constexpr variables staticChris Robinson2022-02-231-4/+4
|
* Avoid an implicit char-to-bool conversionChris Robinson2022-02-231-5/+5
|
* Avoid using an if_constexpr macroChris Robinson2022-02-221-13/+11
| | | | | It doesn't actually use if constexpr, and compilers are smart enough to optimize. Some functions can use templates instead.
* Rename some variables to show the relevant bit patternChris Robinson2022-02-221-9/+9
|
* Use a fast native type for the backup popcountChris Robinson2021-03-021-7/+20
|
* Use if constexpr when possibleChris Robinson2021-01-221-2/+3
|
* Make PopCount and CountTrailingZeros more standard-likeChris Robinson2021-01-221-0/+108
|
* Make the endian test more C++-likeChris Robinson2021-01-211-0/+35