NLA-lib Explorer

Rounded products

Library · Source module

Rounded products

The product w_0 w_1 \cdots w_j of j + 1 words, accumulated left to right by j rounded multiplications (NLAlib.prodWords), has relative error at most (1 + \boldsymbol{u})^j - 1 in the standard model of rounded arithmetic: each multiplication multiplies the accumulated relative error factor by at most 1 + \boldsymbol{u}. [Higham2002, Lemma 3.1].

Main definitions

* NLAlib.prodWords: the rounded partial products of a sequence of words.

Main results

* NLAlib.Ops.StdModel.roundoff_nonneg: the unit roundoff of a standard model is nonnegative. * NLAlib.Ops.StdModel.abs_prodWords_sub_le: the relative error of a rounded product.

Declarations