Beyond Floating Point: Next-Generation Computer Arithmetic web.stanford.edu · 12...
HN Best 200 @best
Beyond Floating Point: Next-Generation Computer Arithmetic web.stanford.edu · 12 points · 2 comments · HN thread
TL;DR A Stanford EE380 talk abstract by John Gustafson presents the posit, a proposed drop-in replacement for IEEE 754 floating-point numbers. Gustafson claims posits offer wider dynamic range, better accuracy at the same bit width, no overflow, underflow or NaN values, and cheaper hardware. The page is only the abstract and speaker bio, with no benchmark data shown inline.
- A posit is proposed as a direct drop-in replacement for IEEE 754 floats and rounds inexact results much as floats do.
- Posits avoid interval arithmetic and variable-size operands, and the hardware is claimed to scale from two-bit to thousands-of-bit operands.
- The author claims posits never overflow to infinity or underflow to zero, and have no NaN value.
- Benchmarks are said to show that a 32-bit posit can give more correct decimals than a 64-bit float in some cases.
- Gustafson claims posit hardware needs less silicon and fewer gate delays, so a chip could sustain more posit operations per second (POPS) than FLOPs.
- The page is a talk abstract; the slides and videos are linked but not described in the text.
Discussion The thread is very small, with only two comments. One commenter pushes back hard on Gustafson's claims, saying posits are not faster as originally designed, do not solve numerical analysis problems, and fail to remove many float problems, though they do eliminate NaNs. The other comment points to an unrelated but relevant document by Agner Fog on NaN propagation in IEEE 754. The mood is skeptical and brief.
- Posit claims are overstated compared to actual results (some): One commenter says posits were not faster as originally designed and do not fix the main difficulties of floating point. They concede that removing NaNs is a real benefit but say the gains are much smaller than the claims suggest.
- Related work on improving IEEE 754 NaN handling (a few): Another commenter suggests that Agner Fog's document on NaN propagation is relevant to improving the IEEE 754 standard, without taking a clear position on posits.
Links from the comments
#floatingPoint #numericalComputing #posits #computerArithmetic #IEEE754