Unofficial Hacker News companion — get notified on comment replies, and more.

The Rise of Low Precision Floating Point (opens external site)

83 points by matt_d 8 days ago | arxiv.org | 33 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1.   >That transformation sounds slower than doing the handful of bit shifts.
    
    It certainly would be, except you don't actually perform the log or exp transform in/out of every operation. The representation stays logarithmic the whole time.

    Indeed I see little value in variable length exponents. It was a convenient jumping off point, don't think too much of it. ;)

    This simplifications works in any log-distributed number representation (ie not FP). Naturally, you can also fake it in FP by just re-labeling all your numbers, or do it approximately like Carmack's fast InvSqrt.

    Just another trick in the toolbelt.