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

FP64 Is All You Want, INT8 Is All You Need, FP4/6/8 Is All You Have (opens external site)

246 points by peter_d_sherman 2 days ago | arxiv.org | 61 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (7)

  1. In my corner of physics, the biggest theory breakthrough came from abandoning fp128 quad-precision and going to arbitrary precision libraries with tens to hundreds of (decimal!) digits.
    Replies (2)
    1. Sounds like something was wrong with the way the theory was realized in software.
      Replies (2)
      1. COBOL compilers rely on arbitrary precision, and GNU COBOL links in GNU MP to achieve it.

        https://archive.ph/K2TX3

        Replies (1)
        1. cobol has _fixed_ arbitrary precision, BCD encoded arbitrary fixed size numbers.

          they happened to use gnu MP, yes, but for cobol, dynamic arbitrary float precision or "never overflow" ints are not the point.

      2. Well yeah, but it sounds like what was wrong was the level of precision used. It's not always possible to work around numerical issues arising from finite precision.
    2. Say more! :-)
      Replies (1)
      1. The challenge is to calculate properties of three-body atomic or molecular systems (He, Li+, H2+,...) with extreme precision to allow comparisons with accurate measurements (we are doing such measurements). The starting point is to solve the Schrödinger equation, but in the three-body case, this is not possible analytically. This is one of the oldest problems in computational quantum mechanics, and the first numerical results were worked out already in 1928 by Hylleraas. It turns out that the approaches with the best convergence properties tend to be numerically unstable. The modern solution is to simply power through these numerical problems using arbitrary precision libraries with tons of digits.