Bits Tools
Browse all available bits tools.
Available tools
- Bit String Circular One Runs Inventory circular one-bit runs with modular starting positions and lengths; all-ones has one full-cycle run and empty/all-zero strings have none.
- Bit String Contained Mask Check Check exact equal-width bit-mask left containment in right at each string position; no implicit padding or integer coercion.
- Bit String Cyclic Window Extract a bounded circular bit window from a signed starting position, allowing repeated cycles; empty source permits only an empty window.
- Bit String Disjoint Mask Check Check exact equal-width bit-mask disjointness at each string position; no implicit padding or integer coercion.
- Bit String Even Odd Lane Split Split an explicit bit string into even and odd zero-based lanes, preserving a possible extra final even-lane bit.
- Bit String Hamming Position List Return every differing position between equal-width bit strings, preserving Hamming witnesses rather than just a count.
- Bit String Lexicographic Compare Compare bit strings lexicographically as text, not by numeric magnitude; differing widths and leading zeros remain significant.
- Bit String Mask Replacement Replace bit positions only where an equal-width explicit mask has one; preserve all unmasked source positions.
- Bit String Next Set Position Find the first set bit at or after an explicit position; null preserves absence instead of inventing an index.
- Bit String One Run Table Inventory maximal half-open 1-bit runs in a bounded linear string; no circular merging or compression.
- Bit String Previous Set Position Find the last set bit strictly before an explicit position; null preserves absence instead of inventing an index.
- Bit String Rank One Query Count 1 bits in the half-open prefix before an explicit endpoint; rank excludes the endpoint position itself.
- Bit String Rank Zero Query Count 0 bits in the half-open prefix before an explicit endpoint; rank excludes the endpoint position itself.
- Bit String Select One Query Select a zero-based occurrence of bit 1 in an explicit bit string; null denotes an occurrence beyond the observed count.
- Bit String Select Zero Query Select a zero-based occurrence of bit 0 in an explicit bit string; null denotes an occurrence beyond the observed count.
- Bit String Shift with Fill Shift bit positions with explicit zero/one fill and fixed output width; positive shifts move toward higher string indexes, not numeric bit significance.
- Bit String Stride Deinterleaver Deinterleave bit positions into explicitly many modulo-stride lanes, retaining empty lanes and incomplete final groups.
- Bit String Transition Count Count bit transitions along an explicit linear or circular string, adding the closure edge only when endpoints differ.
- Bit String Zero Run Table Inventory maximal half-open 0-bit runs in a bounded linear string; no circular merging or compression.