HackerPapers

arXiv:2404.18603math.NA

Beating Posits at Their Own Game: Takum Arithmetic

Laslo Hunhold

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Recent evaluations have highlighted the tapered posit number format as a promising alternative to the uniform precision IEEE 754 floating-point numbers, which suffer from various deficiencies. Although the posit encoding scheme offers superior coding efficiency at values close to unity, its efficiency markedly diminishes with deviation from unity. This reduction in efficiency leads to suboptimal encodings and a consequent diminution in dynamic range, thereby rendering posits suboptimal for general-purpose computer arithmetic. This paper introduces and formally proves 'takum' as a novel general-purpose logarithmic tapered-precision number format, synthesising the advantages of posits in low-bit applications with high encoding efficiency for numbers distant from unity. Takums exhibit an asymptotically constant dynamic range in terms of bit string length, which is delineated in the paper to be suitable for a general-purpose number format. It is demonstrated that takums either match or surpass existing alternatives. Moreover, takums address several issues previously identified in posits while unveiling novel and beneficial arithmetic properties.

arXiv comments
72 pages, 22 figures, Conference for Next Generation Arithmetic 2024 (CoNGA 2024)
Journal reference
DOI
doi:10.1007/978-3-031-72709-2_1
Subjects
math.NANumerical Analysis cs.DSData Structures and Algorithms

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jan 2025 to Jan 2025. Found in 1 HN submission from Nov 2024 to Nov 2024. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

    • Our experiments demonstrate that tapered-precision arithmetic consistently outperforms IEEE 754 floating-point numbers in all tested scenarios. Among the tapered-precision formats, takums exhibited exceptional performance, outperforming bfloat16 in every case. While occasionally…

      jobstijlView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.