IEEE 754 floating-point converter
Encode and decode float, double, half, bfloat16, FP8 and binary128 values. Inspect sign, exponent and fraction fields, the exact stored value, rounding error, exception flags and fused multiply-add behavior.
Open IEEE 754 calculator →
Q-format fixed-point converter and arithmetic calculator
Convert decimals and stored register words using custom signed or unsigned widths and fractional-bit counts. Compare rounding modes, saturation and wrapping, measure quantisation error and calculate with already-quantised operands.
Open Q-format calculator →
Two’s-complement calculator
Convert signed decimal, binary and hexadecimal values at widths from 2 to 256 bits. Change widths and inspect addition, subtraction, multiplication, division, remainders, carry and signed overflow.
Open two’s-complement calculator →
Three different representation problems
Two’s complement stores signed integers with a fixed binary width. Q format adds an implied scale to a signed or unsigned integer, giving constant absolute resolution. IEEE 754 floating point stores a significand and exponent, trading constant resolution for a much wider dynamic range.
Why width and policy matter
A mathematical value does not define its machine representation. Word width, signedness, scale, rounding mode and overflow policy can all change the stored result. These tools keep those choices visible and calculate with exact integers wherever possible.