Universal Numbers Library: design and implementation of a high-performance reproducible number systems library

E. Theodore L. Omtzigt, Peter Gottschling, Mark Seligman, William Zorn
12/20/2020
cs.CEcs.MS

Official code: stillwater-sc/universal (505 stars, C++, MIT, last commit 2026-11-18).

Abstract

With the proliferation of embedded systems requiring intelligent behavior, custom number systems to optimize performance per Watt of the entire system become essential components for successful commercial products. We present the Universal Number Library, a high-performance number systems library that includes arbitrary integer, decimal, fixed-point, floating-point, and introduces two tapered floating-point types, posit and valid, that support reproducible arithmetic computation in arbitrary concurrency environments.

Show full abstract

We discuss the design of the Universal library as a run-time for application development, and as a platform for application-driven hardware validation. The library implementation is described, and examples are provided to show educational examples to elucidate the number system properties, and how specialization is used to yield very high-performance emulation on existing x86, ARM, and POWER processors. We will highlight the integration of the library in larger application environments in computational science and engineering to enable multi-precision and adaptive precision algorithms to improve performance and efficiency of large scale and real-time applications. We will demonstrate the integration of the Universal library into a high-performance reproducible linear algebra run-time. We will conclude with the roadmap of additional functionality of the library as we are targeting new application domains, such as Software Defined Radio, instrumentation, sensor fusion, and model-predictive control.

View on arXivView PDF

Code Implementations(1)

MIT

Large collection of number systems providing custom arithmetic for mixed-precision algorithm development and optimization for AI, Machine Learning, Computer Vision, Signal Processing, CAE, EDA, control, optimization, estimation, and approximation.

50578C++, CMakeMay 1, 20171 weeks agoMIT
arbitrary-precisionarbitrary-precision-arithmeticarbitrary-precision-floatsarbitrary-precision-integersarithmetic+14 more

Similar Papers

Cite this paper

@article{omtzigt2020universal,
  title  = {Universal Numbers Library: design and implementation of a high-performance reproducible number systems library},
  author = {E. Theodore L. Omtzigt and Peter Gottschling and Mark Seligman and William Zorn},
  year   = {2020},
  eprint = {2012.11011},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.11011}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.11011.svg)](https://codeofpaper.com/paper/2012.11011)

Discussion