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

Abstract : 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.
Document type :
Preprints, Working Papers, ...
Complete list of metadatas

Cited literature [4 references]  Display  Hide  Download

https://hal-ens-lyon.archives-ouvertes.fr/ensl-00149414
Contributor : Jean-Michel Muller <>
Submitted on : Friday, May 25, 2007 - 3:16:46 PM
Last modification on : Tuesday, April 24, 2018 - 1:52:44 PM
Long-term archiving on : Friday, September 21, 2012 - 3:52:07 PM

File

underflow.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : ensl-00149414, version 1

Collections

Citation

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

Share

Metrics

Record views

181

Files downloads

87