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

http://www.johngustafson.net/pdfs/BeatingFloatingPoint.pdf

Comments

librasteveNov 29, 2026, 8:15 AM
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://github.com/librasteve/omasheet if this is of interest.

augment_meNov 29, 2026, 6:36 AM
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.

cycomanicNov 29, 2026, 7:46 AM
I think you're overstating the claims and results of both papers. I would not regard anything in the first paper regarding how as a central claim (especially considering they did not really investigate hw implementations) and the second paper does review the challenges of hw implementations and importantly the progress toward as dressing them. I don't think it refutes the claim of the first paper that hw implementations could potentially be less complex, it simply shows that implementation is more significantly more difficult in reality (the quite being a significant part of the difficulties). I don't think it makes a statement that posits are fundamentally more complex (again considering it's a review it can't really make such claim).
LercNov 29, 2026, 7:04 AM
Is there any good walkthrough on how to multiply and add with posits without converting to an intermediate representation. I see the appeal of it as an encoding of numbers in bits, but the times I have looked at the process of working with them, they seemed either impenetrable or converted to a higher precision float did the operation and converted back.
yababa_yNov 29, 2026, 7:07 AM
This was an observational study not a constructional necessity ablation study, its design cannot support the conclusion you drew from it. Furthermore the conclusion for the latest gens is that it IS competitive when fixed.
larodiNov 29, 2026, 7:17 AM
dunno why, but subconsciouslly this all weirdly reminds of what they do in RoPE and TurboQuant
chaboudNov 29, 2026, 8:16 AM
That's probably down to the two-axis rotational representation, though my understanding of posits is that a lot of the love comes from reflection operations positionally.
LoganDarkNov 29, 2026, 6:33 AM
Worth noting that while these may be smaller than equivalent floats for many values (and indeed, for some applications a 32-bit posit could replace a 64-bit double), they lose precision far more rapidly at larger values, they lack NaN and Infinity entirely, and saturation can silently create enormously incorrect results. Also, attempts at creating hardware implementations have found them far more difficult and bulky than for floats, partly because of all the variable-length shenanigans.

Still, it's quite nice to see yet another option for representing magnitudes in programming. Given the right domain, these could show many benefits indeed.

1homsiNov 29, 2026, 7:01 AM
[dead]