summaryrefslogtreecommitdiffstats
path: root/tests/bit.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
|
* tests: Add ../src to the include pathTavian Barnes2024-04-191-3/+3
|
* bit: Check __BYTE_ORDER__ for the native endianTavian Barnes2024-03-211-0/+13
| | | | __ORDER_NATIVE_ENDIAN__ is not a thing.
* Re-run include-what-you-useTavian Barnes2024-03-111-1/+1
|
* tests: New bfs_check() macroTavian Barnes2024-02-291-53/+55
| | | | | We now report failures and continue, rather than aborting after the first failure.
* tests: Merge unit test executables into oneTavian Barnes2024-01-121-2/+3
|
* Revert "bit: Implement a branchless has_single_bit()"Tavian Barnes2023-11-111-0/+1
| | | | | | Doesn't work for the highest bit due to overflow. This reverts commit 208376ef99da243545efcd6fb02d3469b4c068ed.
* bit: Implement a branchless has_single_bit()Tavian Barnes2023-11-101-0/+3
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-50/+50
|
* bit: Rename int.h to bit.hTavian Barnes2023-05-181-0/+121