Some notes on the possible under/overflow of the most common elementary functions - ENS de Lyon - École normale supérieure de Lyon
Pré-Publication, Document De Travail Année : 2007

Some notes on the possible under/overflow of the most common elementary functions

Résumé

The purpose of this short note is not to describe when underflow or overflow must be signalled (it is quite clear that the rules are the same as for the basic arithmetic operations). We just want to show that for some of the most common functions and floating-point formats, in many cases, we can know in advance that the results will always lie in the range of the numbers that are representable by normal floating-point numbers, so that in these cases there is no need to worry about underflow or overflow. Note that when it is not the case, an implementation is still possible using a run-time test.

Domaines

Autre [cs.OH]
Fichier principal
Vignette du fichier
underflow.pdf (84.69 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

ensl-00149414 , version 1 (25-05-2007)

Identifiants

  • HAL Id : ensl-00149414 , version 1

Citer

Jean-Michel Muller, Vincent Lefèvre. Some notes on the possible under/overflow of the most common elementary functions. 2007. ⟨ensl-00149414⟩
169 Consultations
93 Téléchargements

Partager

More