Skip to content

Computing ab+cdab+cd and other expressions with correct rounding in binary floating-point arithmetic

Stef Graillat, Jean-Michel Muller, Takeshi Ogita

cs.MS

Abstract

We introduce two ``high-level'' algorithms that make it possible to evaluate the sum (x_h+x_ℓ)+(y_h+y_ℓ)(x\_h+x\_\ell) + (y\_h+y\_\ell) of two double-word numbers with correct rounding in binary floating-point arithmetic. These algorithms allow one to evaluate expressions of the form ab+cdab+cd, a+b+cda+b+cd, a+b+c+da+b+c+d, and abcabc with correct rounding, where aa, bb, cc, and dd are floating-point numbers.

Create a lesson