Title :
Computing Integer Powers in Floating-Point Arithmetic
Author :
Kornerup, Peter ; Lefèvre, Vincent ; Muller, Jean-Michel
Author_Institution :
SDU, Odense
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).
Keywords :
computational complexity; floating point arithmetic; double precision rounding; floating-point arithmetic; fused multiply-add instruction; integer power function computation; Computer science; Floating-point arithmetic;
Conference_Titel :
Signals, Systems and Computers, 2007. ACSSC 2007. Conference Record of the Forty-First Asilomar Conference on
Conference_Location :
Pacific Grove, CA
Print_ISBN :
978-1-4244-2109-1
Electronic_ISBN :
1058-6393
DOI :
10.1109/ACSSC.2007.4487226