Evaluating the hardware cost of the posit number system

Yohann Uguen 1 Luc Forget 1 Florent de Dinechin 1
1 SOCRATE - Software and Cognitive radio for telecommunications
Inria Grenoble - Rhône-Alpes, CITI - CITI Centre of Innovation in Telecommunications and Integration of services
Abstract : The posit number system is proposed as a replacement of IEEE floating point numbers. It is a floating-point system that trades exponent bits for significand bits, depending on the magnitude of the numbers. Thus, it provides more precision for numbers around 1, at the expense of lower precision for very large or very small numbers. Several works have demonstrated that this trade-off can improve the accuracy of applications. However, the variable-length exponent and significant encoding impacts the hardware cost of posit arithmetic. The objective of the present work is to enable application-level evaluations of the posit system that include performance and resource consumption. To this purpose, this article introduces an open-source hardware implementation of the posit number system, in the form of a C++ templatized library compatible with Vivado HLS. This library currently implements addition, subtraction and multiplication for custom-size posits. In addition, the posit standard also mandates the presence of the "quire", a large accumulator able to perform exact sums of products. The proposed library includes the first open-source parameterized hardware quire. This library is shown to improve the state of the art of posit implementations in terms of latency and resource consumption. Still, standard 32 bits posit adders and multipliers are found to be much larger and slower than the corresponding floating-point operators. The cost of the posit 32 quire is shown to be comparable to that of a Kulisch accumulator for 32 bits floating-point.
Document type :
Preprints, Working Papers, ...
Complete list of metadatas

Cited literature [16 references]  Display  Hide  Download

Contributor : Yohann Uguen <>
Submitted on : Thursday, May 16, 2019 - 12:06:39 PM
Last modification on : Friday, June 28, 2019 - 1:49:49 AM


Files produced by the author(s)


  • HAL Id : hal-02130912, version 1


Yohann Uguen, Luc Forget, Florent de Dinechin. Evaluating the hardware cost of the posit number system. 2019. ⟨hal-02130912v1⟩



Record views


Files downloads