Bitwise Tools
Browse all available bitwise tools.
Available tools
- Arithmetic Right Shift Sign Fill Mask Tool Compute arithmetic right shift sign fill mask from explicit bounded inputs.
- Binary Round To Even Increment Decision Tool Compute binary round to even increment decision from explicit bounded inputs.
- Binary Sticky Round Guard Triplet Tool Compute binary sticky round guard triplet from explicit bounded inputs.
- Bit Permutation Inverse Position Tool Calculate bit permutation inverse position from explicit caller-supplied inputs.
- Bit Reversal Calculator Reverse the bits of an integer within a specified bit width.
- Bit Word Checkerboard Phase Mask Tool Calculate bit word checkerboard phase mask from explicit caller-supplied inputs.
- Bit Word Leading Transition Position Tool Index of the first bit differing from its predecessor, counting from the supplied most-significant end.
- Bitfield Insert Preservation Mask Tool Compute bitfield insert preservation mask from explicit bounded inputs.
- Bitfield Offset Alignment Remainder Tool Calculate bitfield offset alignment remainder from explicit caller-supplied inputs.
- Bitfield Signed Range Width Tool Calculate bitfield signed range width from explicit caller-supplied inputs.
- Bitmap First Excluded Position Tool Calculate bitmap first excluded position from explicit caller-supplied inputs.
- Bitmask Exact One Lane Flag Tool Count nonzero fixed-width lanes, with the first lane at the supplied most-significant end.
- Bitmask Lane Parity Contribution Tool Compute bitmask lane parity contribution from explicit bounded inputs.
- Bitmask Leading Run Parity Tool Calculate bitmask leading run parity from explicit caller-supplied inputs.
- Bitmask Outside Width Count Tool Calculate bitmask outside width count from explicit caller-supplied inputs.
- Bitmask Run End Boundary Mask Tool Compute bitmask run end boundary mask from explicit bounded inputs.
- Bitmask Run Start Boundary Mask Tool Compute bitmask run start boundary mask from explicit bounded inputs.
- Bitmask Trailing Run Fill Tool Calculate bitmask trailing run fill from explicit caller-supplied inputs.
- Bitplane Interleave Two Nibbles Tool Calculate bitplane interleave two nibbles from explicit caller-supplied inputs.
- Bitwise AND Combine two integers with a bitwise AND on their 32-bit forms.
- Bitwise Left Shift Shift an integer's 32-bit form left by the given number of bits.
- Bitwise Majority Three Words Tool Calculate bitwise majority three words from explicit caller-supplied inputs.
- Bitwise NOT Invert every bit of an integer's 32-bit form.
- Bitwise OR Combine two integers with a bitwise OR on their 32-bit forms.
- Bitwise Right Shift Shift an integer's 32-bit form right by the given number of bits, preserving the sign.
- Bitwise XOR Combine two integers with a bitwise exclusive OR on their 32-bit forms.
- Bitwise: Adjacent Bit Pair Exchange Tool Exchange adjacent low/high bit pairs across an explicitly even-width word, preserving all bits without JavaScript 32-bit coercion.
- Bitwise: Bit Word Hex Digit Boundary Padding Tool Format a declared-width bit word to complete hexadecimal digits while reporting non-data high padding bits; exact decimal input avoids numeric precision loss.
- Bitwise: Bit Word Sign Bit Toggle Tool Toggle only the most-significant bit of an arbitrary declared-width word; this is not floating-point sign handling.
- Bitwise: Bit Word Tri State Mask Merge Tool Merge replacement bits only where an explicit known/write mask is set, preserving unknown positions from the base word.
- Bitwise: Bitfield Width From Endpoints Tool Resolve an inclusive zero-based bitfield width inside an explicit word, rejecting inverted or out-of-word endpoints.
- Bitwise: Bitmask Contiguous Ones Check Tool Check whether an explicit fixed-width mask has exactly one nonempty contiguous run of ones; zero is false.
- Bitwise: Bitmask Singleton Index Check Tool Recognize a one-hot fixed-width mask and return its zero-based set-bit index, using -1 for zero or multiple set bits.
- Bitwise: Carryless Product Coefficient Parity Tool Compute one GF(2) carryless polynomial product coefficient by bounded XOR convolution of explicit input words; no ordinary integer carry or full multiplication.
- Bitwise: Field Mask From Low Bit Width Tool Construct one contiguous fixed-width field mask from low bit and width, permitting an empty zero-width field only at valid boundaries.
- Bitwise: Fixed Width Add Overflow Flags Tool Add two fixed-width bit patterns and expose wrapped result, unsigned carry and signed-overflow flags separately; unlike the existing unwrapped fixed-point overflow checker.
- Bitwise: Ones Complement Negative Zero Check Tool Recognize the all-ones negative-zero representation in an explicitly sized ones-complement unsigned bit pattern.
- Bitwise: Packed Nibble Swap Tool Swap the high and low four-bit nibbles of one unsigned byte; no byte-order conversion.
- Bitwise: Sign Magnitude Signed Zero Tag Tool Inspect a fixed-width sign-magnitude representation for its sign bit, exact magnitude and distinct negative-zero encoding.
- Bitwise: Sign Magnitude Word To Integer Tool Decode a fixed-width sign-magnitude word into an exact decimal integer with an explicit negative-zero tag policy, not twos complement.
- Bitwise: Single Bit Carry Propagation Mask Tool Trace bits toggled by adding a single one at an explicit position, including the first zero stop bit and retaining final carry-out.
- Bitwise: Twos Complement Minimum Negation Check Tool Negate one twos-complement bit pattern at fixed width, exposing the unique minimum-integer overflow case.
- Bitwise: Unsigned Less Than Borrow Flag Tool Perform exact fixed-width unsigned subtraction and expose the final borrow flag and wrapped difference independently of signed overflow.
- Bitwise: Word Shift Out Bit Mask Tool Extract the bits shifted out of an explicit fixed-width word, compacted in original bit order; not an arithmetic signed shift.
- Bitwise: Word Signedness Reinterpretation Tool Reinterpret one exact unsigned bit pattern as unsigned and twos-complement signed decimal, preserving declared width.
- Bitword Cyclic Rotation Period Witness Tool Compute bitword cyclic rotation period witness from explicit bounded inputs.
- Bitword Deposit One Bit Position Tool Compute bitword deposit one bit position from explicit bounded inputs.
- Bitword Extract One Packed Bit Tool Compute bitword extract one packed bit from explicit bounded inputs.
- Bitword Lsb Msb Index Crosswalk Tool Compute bitword lsb msb index crosswalk from explicit bounded inputs.
- Bitword Offset Binary To Unsigned Tool Compute bitword offset binary to unsigned from explicit bounded inputs.
- Bitword Partial Byte Validbit Mask Tool Compute bitword partial byte validbit mask from explicit bounded inputs.
- Bitword Unsigned To Offset Binary Tool Compute bitword unsigned to offset binary from explicit bounded inputs.
- Byte Unaligned Load Two Fragments Tool Calculate byte unaligned load two fragments from explicit caller-supplied inputs.
- Carry Save Adder One Column Tool Calculate carry save adder one column from explicit caller-supplied inputs.
- Carryless Division Leading Cancellation Step Tool Compute carryless division leading cancellation step from explicit bounded inputs.
- Gray Code Single Transition Bit Index Tool Compute gray code single transition bit index from explicit bounded inputs.
- Lowest Zero Bit Index Tool Calculate lowest zero bit index from explicit caller-supplied inputs.
- Masked Bit Agreement Tool Calculate masked bit agreement from explicit caller-supplied inputs.
- Ones Complement Checksum Zero Canonicalizer Tool Compute ones complement checksum zero canonicalizer from explicit bounded inputs.
- Ones Complement Dual Zero Equality Tool Compute ones complement dual zero equality from explicit bounded inputs.
- Ones Complement End Around Carry Step Tool Compute ones complement end around carry step from explicit bounded inputs.
- Packed Decimal Invalid Nibble Mask Tool Calculate packed decimal invalid nibble mask from explicit caller-supplied inputs.
- Parity Change From Toggle Tool Resolve parity after a supplied sequence of bit toggles, counting repeated toggles modulo two.
- Population Count Calculator Full53bitBigIntpopulationcountnot32bitbitwise truncation. Explicitboundedofflineconvention,not authoritative external identity,eligibility,clinical or safe-use determination.
- Power of Two Checker Full53bitBigIntpoweroftwoincluding zero=false,not nextpowerdistance. Explicitboundedofflineconvention,not authoritative external identity,eligibility,clinical or safe-use determination.
- Sign Extension Width Redundancy Tool Calculate sign extension width redundancy from explicit caller-supplied inputs.
- Signed Magnitude Add Sign Conflict Tool Compute signed magnitude add sign conflict from explicit bounded inputs.
- Signed Right Shift Discarded Bit Count Apply an explicit 32-bit arithmetic right shift and count one bits removed from the low positions.
- Signed Saturation Clamp Boundary Tool Calculate signed saturation clamp boundary from explicit caller-supplied inputs.
- Signed Shift Overflow Margin Tool Shift one signed fixed-width integer exactly and report signed distance to the boundary on the result’s side.
- Signed Shift Overflow Witness Tool Exact signed left-shift witness using an explicit two-complement width.
- Signed Word Negation Fixed Point Tool Inspect exact modular two’s-complement negation fixed points, including zero and the most negative signed word.
- Signed Word Sign Extension Gap Tool Compare unsigned source/target bit-pattern values during exact signed-word sign extension.
- Ternary Bitselect One Word Tool Calculate ternary bitselect one word from explicit caller-supplied inputs.
- Thermometer Code Transition Validity Tool Calculate thermometer code transition validity from explicit caller-supplied inputs.
- Two Lane Shuffle Immediate Fields Tool Calculate two lane shuffle immediate fields from explicit caller-supplied inputs.
- Unary Code Stop Bit Index Tool Calculate unary code stop bit index from explicit caller-supplied inputs.
- Unsigned Saturating Subtraction Borrow Tool Calculate unsigned saturating subtraction borrow from explicit caller-supplied inputs.
- Word Funnel Shift Single Lane Tool Return the low-width lane of the concatenated high/low words shifted logically right.