Beating Floating Point at Its Own Game: Posit Arithmetic [pdf]
xenophonf
97 points
33 comments
November 29, 2026
Related Discussions
Found 5 related stories in 47.7ms across 4,908 title embeddings via pgvector HNSW
- Beyond Floating Point: Next-Generation Computer Arithmetic Bluestein · 16 pts · November 16, 2026 · 73% similar
- Proving a Fixed Upper Bound on Jensen's Affairs [pdf] instagraham · 19 pts · November 26, 2026 · 45% similar
- A new faster algorithm to compute 64-bit signed floor division benjoffe · 158 pts · October 27, 2026 · 45% similar
- On The Brutality Of Amdahl's Law optimalsolver · 22 pts · November 15, 2026 · 44% similar
- FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have peter_d_sherman · 238 pts · November 29, 2026 · 43% similar
Discussion Highlights (5 comments)
LoganDark
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.
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.
larodi
dunno why, but subconsciouslly this all weirdly reminds of what they do in RoPE and TurboQuant
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.
wmwragg
There is also Takum arithmetic https://arxiv.org/abs/2404.18603