A New Multiplication Algorithm for Extended Precision Using Floating-Point Expansions
Authors:
- Ping Tak Peter TangPTPing Tak Peter Tang
Open Access
- 8 September 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 39-46
Abstract
Some important computational problems must use a floating-point (FP) precision several times higher than the hardware-implemented available one. These computations critically rely on software libraries for high-precision FP arithmetic. The representation of a high-precision data type crucially influences the corresponding arithmetic algorithms. Recent work showed that algorithms for FP expansions, that is, a representation based on unevaluated sum of standard FP types, benefit from various high-performance support for native FP, such as low latency, high throughput, vectorization, threading, etc. Bailey's QD library and its corresponding Graphics Processing Unit (GPU) version, GQD, are such examples. Despite using native FP arithmetic as the key operations, QD and GQD algorithms are focused on double-double or quad-double representations and do not generalize efficiently or naturally to a flexible number of components in the FP expansion. In this paper, we introduce a new multiplication algorithm for FP expansion with flexible precision, up to the order of tens of FP elements in mind. The main feature consists in the partial products being accumulated in a special designed data structure that has the regularity of a fixed-point representation while allowing the computation to be naturally carried out using native FP types. This allows us to easily avoid unnecessary computation and to present rigorous accuracy analysis transparently. The algorithm, its correctness and accuracy proofs and some performance comparisons with existing libraries are all contributions of this paper.Keywords
This publication has 9 references indexed in Scilit:
- Searching for Sinks for the Hénon Map using a Multipleprecision GPU Arithmetic LibraryACM SIGARCH Computer Architecture News, 2014
- Computing periodic orbits with arbitrary precisionPhysical Review E, 2011
- Handbook of Floating-Point Arithmetic2010
- Existence of collisional trajectories of Mercury, Mars and Venus with the EarthNature, 2009
- Ultimately Fast Accurate SummationSIAM Journal on Scientific Computing, 2009
- MPFRACM Transactions on Mathematical Software, 2007
- Algorithms for arbitrary precision floating point arithmetic2002
- Algorithms for quad-double precision floating point arithmetic2002
- Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric PredicatesDiscrete & Computational Geometry, 1997