Research indexJournal article
Computing Integer Powers in Floating-Point Arithmetic
Kornerup, Lefèvre, Muller
Conference record/Conference record - Asilomar Conference on Signals, Systems, & Computers1 Nov 2007Open access
NobleIDark:/48914/w1/20260515/8D8DBAA3DOI10.1109/acssc.2007.4487226
Computing Integer Powers in Floating-Point Arithmetic
Kornerup, Lefèvre, Muller · Conference record/Conference record - Asilomar Conference on Signals, Systems, & Computers · 2007
NobleIDark:/48914/w1/20260515/8D8DBAA3DOI10.1109/acssc.2007.4487226
Abstract
We introduce two algorithms for accurately evaluating powers to a positive integer in floating-point arithmetic, assuming a fused multiply-add (fma) instruction is available. We show that our log-time algorithm always produce faithfully-rounded results, discuss the possibility of getting correctly rounded results, and show that results correctly rounded in double precision can be obtained if extended precision is available with the possibility to round into double precision (with a single rounding).