Issue |
RAIRO-Theor. Inf. Appl.
Volume 41, Number 1, January-March 2007
Real Numbers
|
|
---|---|---|
Page(s) | 85 - 102 | |
DOI | https://doi.org/10.1051/ita:2007003 | |
Published online | 24 April 2007 |
Fast and correctly rounded logarithms in double-precision
LIP, projet Arénaire, École normale
supérieure de Lyon, 46 allée d'Italie, 69364 Lyon Cedex 07,
France; florent.de.dinechin@ens-lyon.fr; christoph.lauter@ens-lyon.fr; Jean-Michel.Muller@ens-lyon.fr
This article is a case study in the implementation of a portable, proven and efficient correctly rounded elementary function in double-precision. We describe the methodology used to achieve these goals in the crlibm library. There are two novel aspects to this approach. The first is the proof framework, and in general the techniques used to balance performance and provability. The second is the introduction of processor-specific optimization to get performance equivalent to the best current mathematical libraries, while trying to minimize the proof work. The implementation of the natural logarithm is detailed to illustrate these questions.
Mathematics Subject Classification: 26-04 / 65D15 / 65Y99
Key words: Floating-point / elementary functions / logarithm / correct rounding.
© EDP Sciences, 2007
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.