Back to Search
Start Over
A long accumulator like a carry-save adder.
- Source :
-
Computing . Mar2012, Vol. 94 Issue 2-4, p203-213. 11p. 3 Diagrams, 1 Chart, 1 Graph. - Publication Year :
- 2012
-
Abstract
- Long accumulators for the exact summation of floating point numbers or products are well known tools in numerical analysis especially in algorithms verifying the result (C++ Toolbox for Verified Computing, Springer, New York, ). An exact dot product is one of the features of the upcoming interval standard (IEEE Interval Standard Working Group, P1788. ). Usually an accumulator is realized as a memory block with operations to add floating point numbers and products. Several variants have been proposed to avoid carry rippling: use separate accumulators for positive and negative numbers, initialize the accu with a pattern not equal to zero, or perform a kind of carry look-ahead-technique. All these approaches are described in detail in Kulisch (Computer arithmetic and validity-theory, implementation, and applications. Series: de Gruyter Studies in Mathematics 33, ) and Bohlender (Computer arithmetic and self-validating numerical methods, Academic Press, San Diego, ). In this paper we propose a long accumulator similar to a carry-save adder. The main idea is to augment the long accumulator with cache information. The cache is used to store the carries or borrows, instead of propagating them through the whole accumulator every time. Due to the cache, operations are kept local in our approach. The full information of the exact result is represented by the accu and the cache. When we want to deliver the result we have to add the contents of the cache into the accumulator. In this paper we present an implementation in software and compare it with other approaches. Furthermore we discuss the advantages of this algorithm for a hardware implementation. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 0010485X
- Volume :
- 94
- Issue :
- 2-4
- Database :
- Academic Search Index
- Journal :
- Computing
- Publication Type :
- Academic Journal
- Accession number :
- 72249821
- Full Text :
- https://doi.org/10.1007/s00607-011-0164-x