IEEE Transactions on Computers · 2010 · 11 citations · 8 references
Natural SciencesComputer ScienceMathematicsAlgorithmsNumber TheoryTheory Of ComputationAlgebraic Number TheoryArithmetic FunctionsNumerical AlgorithmsNumerical AnalysisComputational PrecisionDecimal RepresentationFloating-point Arithmetic
When implementing a function f in floating-point arithmetic, if we wish correct rounding and good performance, it is important to know if there are input floating-point values x such that f(x) is either the middle of two consecutive floating-point numbers (assuming rounded-to-nearest arithmetic), or a floating-point number (assuming rounded toward ± ∞ or toward 0 arithmetic). In the first case, we say that f(x) is a midpoint, and in the second case, we say that f(x) is an exact point. For some usual algebraic functions and various floating-point formats, we prove whether or not there exist midpoints or exact points. When there exist midpoints or exact points, we characterize them or list all of them (if there are not too many). The results and the techniques presented in this paper can be used in particular to deal with both the binary and the decimal formats defined in the IEEE 754-2008 standard for floating-point arithmetic.
8
J. H. van Lint · 2020 · 4.5K citations
Elementary functions: algorithms and implementation
Choice Reviews Online · 1998 · 542 citations