s'authentifier
version française rss feed
Fiche détaillée  Récupérer au format
ensl-00150406, version 1
arXiv:0705.4369
Informatique/Analyse numérique
Informatique/Autre
Computing Integer Powers in Floating-Point Arithmetic
Peter Kornerup1, Vincent Lefèvre2, Jean-Michel Muller2
1 :  IMADA - Department of Mathematics and Computer Science
2 :  LIP - Laboratoire de l'Informatique du Parallélisme
[ARENAIRE - Arithmétique des ordinateurs]
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).
Anglais
Floating-point arithmetic – Integer powers – Computer arithmetic – Correct rounding
Laboratoire LIP : CNRS/ENS Lyon/INRIA/Université Lyon 1
ACM B.2.4; G.1.0
Rapport de recherche LIP n°2007-23
Liste des fichiers attachés à ce document : 
PS
RRpower.ps(140.9 KB)
PDF
RRpower.pdf(150.3 KB)