$a \cdot (x \cdot x)$ or $(a \cdot x) \cdot x$? - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2021

$a \cdot (x \cdot x)$ or $(a \cdot x) \cdot x$?


Expressions such as $ax^2$, $axy$, or $ax^3$, where $a$ is a constant, are not unfrequent in computing. There are several ways of parenthesizing them (and therefore, choosing the order of evaluation). Depending on the value of $a$, is there a more accurate evaluation order? We discuss this point (with a small digression on spurious underflows and overflows).
Fichier principal
Vignette du fichier
ax2.pdf (396.57 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03129747 , version 1 (03-02-2021)



Jean-Michel Muller. $a \cdot (x \cdot x)$ or $(a \cdot x) \cdot x$?. ARITH 2021 - 28th IEEE Symposium on Computer Arithmetic, Jun 2021, Torino (virtual meeting due to the COVID Pandemic), Italy. ⟨10.1109/ARITH51176.2021.00015⟩. ⟨hal-03129747⟩
154 View
518 Download



Gmail Facebook X LinkedIn More