Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-24 | Avoid undefined behaviour when byteswapping | AbigailBuccaneer | |
`a << b` is undefined when `a` is negative, and `a >> b` is implementation-defined. The correct thing to do here is to cast to unsigned, swap the bytes there and then swap back. This also improves performance on some compilers: Clang is smart enough to recognise that we're byteswapping here and reduce it to a single `bswap` instruction on x86_64, but only for the unsigned versions. | |||
2020-08-24 | Remove extra semicolons from big-endian handling | AbigailBuccaneer | |
Fixes #3296. | |||
2018-07-15 | NOISSUE tabs -> spaces | Petr Mrázek | |
2018-06-28 | NOISSUE fix all sorts of warnings, enable `Werror` and `pedantic` | Petr Mrázek | |
2016-05-01 | NOISSUE reorganize and document libraries | Petr Mrázek | |