Reproduce “Beating Posits at Their Own Game: Takum Arithmetic” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Laslo Hunhold

Takum arithmetic introduces a novel logarithmic tapered-precision number format designed to address the limitations of IEEE 754 floating-point numbers and posits. It establishes a fixed dynamic range, provides superior coding efficiency for numbers across all scales, and demonstrates improved relative accuracy and simplified hardware implementation compared to existing formats.

Key insights

  • The use of a logarithmic significand with base ">e" enables unique and efficient bitwise arithmetic operations, such as 100% exact inversion, and simplifies hardware for complex calculations.
  • A fixed, bounded dynamic range for the number format, independent of bit length for n ">= " 12, optimizes bit allocation by dedicating all additional bits to precision rather than range extension.
  • Integrating a 3-bit regime structure with a logarithmic significand allows takums to achieve tapered precision while maintaining superior coding efficiency and a broad dynamic range for numbers far from unity, overcoming a key limitation of posits.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.