summaryrefslogtreecommitdiffstats
path: root/src/bit.h
Commit message (Expand)AuthorAgeFilesLines
* bit: Add bswap() overloads for every primitive typeTavian Barnes9 days1-9/+34
* build: Move feature test macros to prelude.hTavian Barnes2024-08-281-2/+0
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+3
* prelude: Rely more on __has_include()Tavian Barnes2024-08-281-1/+1
* bit: Use <stdbit.h> if it exists, even without -std=c23Tavian Barnes2024-05-291-3/+3
* bit: Update to match C23Tavian Barnes2024-05-291-51/+45
* Rename config.h to prelude.hTavian Barnes2024-04-191-1/+1
* bit: Check __BYTE_ORDER__ for the native endianTavian Barnes2024-03-211-2/+2
* bit: Rename bswap{16,32,64}()Tavian Barnes2024-01-031-16/+16
* bit: Implement a branchless has_single_bit()Tavian Barnes2023-11-131-1/+2
* Revert "bit: Implement a branchless has_single_bit()"Tavian Barnes2023-11-111-2/+1
* bit: Implement a branchless has_single_bit()Tavian Barnes2023-11-101-1/+2
* config: Add constants for C standard versionsTavian Barnes2023-11-101-4/+4
* bit: Fix UINTPTR_WIDTH typoTavian Barnes2023-09-261-1/+1
* bit: Use predefined __*_WIDTH__ macros if we canTavian Barnes2023-09-261-24/+69
* bit: Add a cast to squelch -Wsign-compareTavian Barnes2023-07-241-1/+1
* bit: Rename int.h to bit.hTavian Barnes2023-05-181-0/+355