Posits Beat Floating Point at Its Own Game

Beating Floating Point at Its Own Game: Posit Arithmetic [pdf]

John Gustafson and Isaac Yonemoto propose the posit, a drop-in replacement for IEEE 754 floats that offers larger dynamic range, higher accuracy, and bitwise identical results across systems with simpler hardware. Posits never overflow to infinity or underflow to zero, and a posit processing unit uses less circuitry than an IEEE FPU, so chips can hit more posit operations per second per watt and per dollar. Benchmarks show a 32-bit posit can sometimes safely replace a 64-bit float.

In other words, posits beat floats at their own game.
  1. librasteve

    Having witnessed the acceleration and adoption of IEEE754 close up (Weitek in the 80s), it is easy to underestimate the level of hardware tuning tricks baked into and developed around that standard.

    I have made a spreadsheet app in Rust with exact and fast arithmetic, centered on Apache Arrow and Polars, so Integer (i64) and Float (f64) are joined by Decimal[n] (.parquet Decimal38) and Fraction(num/dec).

    After considering some alternatives for Fraction, including BigRat and maybe interval arithmetic the current pick is symbolic handling of num/dec stored as .parquet Strings. Why? Well the other three types are fast, so it seems OK to have a slow but sure “back stop”.

    It works well for Googol ranges of arithmetic and knows that 1/7+4/7 is 5/7. This seems good for teaching purposes and scratching the exactness itch.

    Anyway, I’m open to adding Posit provided there’s a Rust crate (fast-posit.rs?) and a way to shoe horn them into parquet. Please raise an issue over at https://omasheet.org repo if this is of interest.

  2. augment_me

    The paper’s central hw claim that a posit processing unit requires less circuitry and achieves higher POPS/W than an IEEE 754 FPU was empirically refuted by ASIC and FPGA implementations earlier this month.

    Source:

    (https://www.researchgate.net/publication/417276683_Hardware_...)

    TLDR; The leading 0 + dynamic length and the 512-bit accumulators for quires require hardware specifics like extra register per MAC and barrel shifters which take up about 30% of the total unit area.

    Probably not impossible to get around but in no way a drop-in or currently better supported by HW.

    ---

    Also non-uniform relative error is a nightmare for any numerical formal verifier that are used by most frontier labs today to avoid numerical divergence during training.

  3. larodi

    dunno why, but subconsciouslly this all weirdly reminds of what they do in RoPE and TurboQuant

More from this day

2026-11-29