Home / Blog / Beating Floating Point at Its Own Game: Posit Arithmetic…
Tech News

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

John Gustafson and Isaac Yonemoto introduced posit arithmetic as a drop-in replacement for IEEE 754 floats that doubles calculation speeds in neural networks.

By Dillip Chowdary • Nov 29, 2026 • Source: johngustafson.net

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

At a glance

Product
Posit arithmetic format
Authors
John L. Gustafson and Isaac Yonemoto
Target
IEEE 754 floating-point replacement
32-bit dynamic range
145 decades
Speed improvement
2x to 4x over 16-bit floats
Accumulator size
1024 bits for 32-bit posits

John L. Gustafson from the A*STAR Computational Resource Centre and National University of Singapore, together with Isaac Yonemoto from the Interplanetary Robot and Electric Brain Company, published a new data type called the posit arithmetic format. In johngustafson.net's report, the researchers present posits as a direct drop-in replacement for the IEEE Standard 754 floating-point numbers widely deployed across modern computer hardware.

This report examines how posit arithmetic works, why it abandons interval arithmetic requirements from previous universal number designs, and how its variable bit allocation outperforms conventional floating-point standards. Computer architects, numerical software developers, and machine learning engineers working on hardware-constrained systems can use these specifications to achieve higher decimal accuracy and larger dynamic ranges across processors, graphic processing units, and neural network accelerators.

01Projective real numbers and unum origins

The universal number framework originally began with Type I unums as a direct superset of the IEEE 754 standard. Type I formats appended a trailing ubit to indicate whether a real value matched an exact float or occupied an open interval between adjacent representations. While this design accommodated interval calculations, the varying bit lengths of exponent and fraction fields imposed significant memory management overhead.

Type II unums discarded IEEE floating-point compatibility in favor of an algebraic design mapped directly to projective real numbers. By projecting the real number line onto two's complement integers, Type II arithmetic positioned reciprocals symmetrically across the circle and bounded values between positive and negative realms. However, the system relied heavily on table lookups, requiring up to 2 raised to the 2n entries for two-argument functions and capping practical precision at 20 bits under current memory architectures.

The posit specification resolves these hardware limits by relaxing projective reflection rules to powers of two and dropping open intervals entirely. Instead of carrying an explicit ubit to track bounds, posits allocate all available trailing bits to significant fraction data and round inexact results. This transition preserves the clean mathematical properties of projective reals while operating on standard float-like logic structures without lookup tables.

02Tapered precision and run-length bitfields

A posit word allocates its total bit budget across a sign bit, a variable-length regime, an optional exponent, and an optional trailing fraction. A positive value begins with 0, while negative numbers begin with 1 and use two's complement decoding before reading remaining bitfields. The subsequent regime field encodes a run-length scale factor using identical bit sequences terminated by an opposite bit or the word boundary.

The run length determines a scaling factor based on a useed value defined as 2 raised to the power of 2 raised to the exponent size es. For an exponent size of 0, the useed equals 2, while an exponent size of 3 scales the useed to 256.

If regime bits contain m identical bits, the value of k equals -m for leading zeros and m minus 1 for leading ones. Any bits remaining after the regime encode unsigned exponent scaling, followed by fractional mantissa bits where the hidden leading bit is always 1.

  1. Sign bit check Determine polarity where 0 marks positive values and 1 requires two's complement inversion.
  2. Regime decoding Count the leading run of identical bits using hardware priority encoders to compute scale factor k.
  3. Exponent scaling Read up to es unsigned exponent bits directly to scale the number by powers of two without IEEE bias offsets.
  4. Fraction evaluation Interpret remaining bits as fractional mantissa values anchored by an implicit leading bit of 1.
FormatExponent bitsMinimum positiveMaximum positiveDynamic range
16-bit Float56e-87e412 decades
16-bit Posit14e-93e817 decades
32-bit Float81e-453e3883 decades
32-bit Posit36e-732e72145 decades
64-bit Float115e-3242e308632 decades
64-bit Posit42e-2994e298597 decades

Note: Posits completely eliminate subnormal numbers, negative zero representations, and dedicated not-a-number bit patterns, handling exceptional operations like division by zero through processor interrupt traps.

Advertisement

Tech Pulse Daily

Get tomorrow's pulse first

Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.

03Fused operations and exact accumulator hardware

Posit environments establish strict bitwise reproducibility across disparate computing platforms by mandating correct rounding for all supported elementary math functions. Under conventional IEEE 754 implementations, libraries generate differing low-order bits across platforms because transcendental routines like logarithms and cosines lack bit-level rounding mandates. Posit standards prohibit covert internal extended bits and require identical outputs on every compliant chip.

To prevent rounding errors from compounding across chained vector calculations, the posit standard requires hardware or software support for five fused operations. These encompass fused multiply-add, fused add-multiply, fused multiply-multiply-subtract, fused sums, and fused dot products. Because intermediate rounding remains deferred until the final storage step, vector routines preserve exact arithmetic throughout vector accumulation.

Processor designs implement these fused operations through fixed scratch accumulators sized to span the entire representable range between squared minimum and squared maximum values. A 16-bit posit architecture relies on a 128-bit register accumulator, while 32-bit formats require 1,024 bits of scratch storage. For 64-bit posits, a 4,096-bit scratch buffer handles all intermediate sums without loss or overflow.

04Numerical closures and single-argument benchmarks

Comparing 8-bit scale models of floating-point numbers and posits demonstrates significant advantages in mathematical closure. An 8-bit IEEE float with 4 exponent bits and 3 fraction bits produces 14 distinct not-a-number bit patterns and spans 5.1 decades. An 8-bit posit with an exponent size of 1 covers 7.2 decades of dynamic range with zero not-a-number representations.

Exhaustive tests across all 256 inputs reveal that single-argument functions execute with higher exactness and fewer exceptional aborts under posit arithmetic. Calculating reciprocals on 8-bit floats results in exact answers for 13.3 percent of inputs, while failing with not-a-number outputs on 5.47 percent and overflow on 0.781 percent. Posits yield exact reciprocal results on 18.8 percent of inputs, zero overflows, and zero not-a-number exceptions.

Square root calculations display similar gains, yielding exact answers on 8.20 percent of posit inputs compared to 7.03 percent of floating-point evaluations. For base-2 logarithms, posits generate exact results on 8.98 percent of values compared to 7.81 percent for floats. Throughout these operations, posits maintain symmetrical decimal accuracy by allocating maximum precision near unity where real-world calculations concentrate.

05Neural network scaling and accelerator throughput

Machine learning workloads benefit directly from compact posit formats during model training and inference. In deep learning routines, 8-bit posits configured with zero exponent bits provide sufficient dynamic range and numerical stability to replace 16-bit half-precision floats. This reduction cuts operand widths in half, expanding memory bandwidth and accelerating execution speeds by a factor of 2 to 4.

Posit representations also accelerate mathematical activation functions without expensive floating-point unit division or exponential calls. Evaluating the standard logistic sigmoid function normally requires over a hundred processor cycles to compute exp(-x) and perform floating-point division. With an 8-bit posit, inverting the first bit and shifting the word two positions to the right produces an accurate approximation with matching derivative slope at the origin.

Because posit processing units require smaller silicon surface areas than complex IEEE floating-point units, semiconductor designers can pack more compute units onto each die. Lower power consumption per calculation allows chips to deliver higher posit operations per second within existing thermal limits. In high-performance scientific simulations, 32-bit posits can substitute for 64-bit floats without precision loss, yielding immediate performance gains without waiting for silicon process shrinks.

Frequently asked questions

What is a posit?

A posit is a universal number data type engineered as a direct drop-in replacement for IEEE 754 floating-point numbers that uses tapered precision to provide higher accuracy and dynamic range.

How do posits eliminate IEEE not-a-number bit patterns?

Posits handle undefined mathematical operations through processor interrupt traps instead of dedicating bit representations to not-a-number patterns, simplifying arithmetic logic units.

Why do posits speed up neural network training?

Deep learning workloads can substitute 8-bit posits for 16-bit floating-point numbers, halving data movement, saving power, and computing sigmoid activation functions using simple bit shifts.

Sources

Dillip Chowdary

Author

Dillip Chowdary

Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.

Related on Tech Bytes

Advertisement

5-min tech signal

Weekday briefing for engineers who skip the noise.

No spam · Unsubscribe anytime

Advertisement

✈️ CareerPilot

Your AI job-search copilot

Match your resume against live Ashby, Greenhouse & Lever openings — fit scores, job-specific resume optimization and email alerts.

Find matching jobs →

Free Tools

Browse all tools →