Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Be a bit more safe with type mangling | Chris Robinson | 2023-05-24 | 1 | -3/+4 |
| | |||||
* | Make and use a bit_cast function | Chris Robinson | 2023-05-04 | 1 | -0/+11 |
| | | | | Instead of reinterpret_casting between incompatible types | ||||
* | constexpr functions are not allowed to have static variables, and if they ↵ | Glyn Leine | 2022-03-29 | 1 | -4/+4 |
| | | | | are constexpr anyways then them being static has no benifit (#677) | ||||
* | Make some local constexpr variables static | Chris Robinson | 2022-02-23 | 1 | -4/+4 |
| | |||||
* | Avoid an implicit char-to-bool conversion | Chris Robinson | 2022-02-23 | 1 | -5/+5 |
| | |||||
* | Avoid using an if_constexpr macro | Chris Robinson | 2022-02-22 | 1 | -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 pattern | Chris Robinson | 2022-02-22 | 1 | -9/+9 |
| | |||||
* | Use a fast native type for the backup popcount | Chris Robinson | 2021-03-02 | 1 | -7/+20 |
| | |||||
* | Use if constexpr when possible | Chris Robinson | 2021-01-22 | 1 | -2/+3 |
| | |||||
* | Make PopCount and CountTrailingZeros more standard-like | Chris Robinson | 2021-01-22 | 1 | -0/+108 |
| | |||||
* | Make the endian test more C++-like | Chris Robinson | 2021-01-21 | 1 | -0/+35 |