Range Reduction Based on Pythagorean Triples for Trigonometric Function Evaluation - Archive ouverte HAL Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2015

Range Reduction Based on Pythagorean Triples for Trigonometric Function Evaluation

Résumé

Software evaluation of elementary functions usually requires three steps: a range reduction, a polynomial evaluation, and a reconstruction step. These evaluation schemes are designed to give the best performance for a given accuracy, which requires a fine control of errors. One of the main issues is to minimize the number of sources of error and / or their influence on the final result. The work presented in this article addresses this problem as it removes one source of error for the evaluation of trigonometric functions. We propose a method that eliminates rounding errors from tabulated values used in the second range reduction for the sine and cosine evaluation. When targeting correct rounding, we show that such tables are smaller, and make the reconstruction step cheaper than existing method. This approach relies on Pythagorean triples generators. Finally, we show how to generate tables indexed by up to 10 bits in a reasonable time and with little memory consumption.
Fichier principal
Vignette du fichier
ASAP2015-submission-113.pdf (333.97 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01134232 , version 1 (23-03-2015)
hal-01134232 , version 2 (25-03-2015)

Identifiants

  • HAL Id : hal-01134232 , version 1

Citer

Hugues de Lassus Saint-Geniès, David Defour, Guillaume Revy. Range Reduction Based on Pythagorean Triples for Trigonometric Function Evaluation. 2015. ⟨hal-01134232v1⟩
381 Consultations
634 Téléchargements

Partager

Gmail Facebook X LinkedIn More