PreciseSums (version 0.3)

psSetSum: Choose the type of sums to use for PreciceSums.

Description

Choose the types of sums to use in PreciceSums. These are used in the PreciceSums sum blocks and the psSum function

Usage

psSetSum(type = c("pairwise", "fsum", "kahan", "neumaier", "c"))

Arguments

type

Sum type to use for psSum and sum() in PreciceSums code blocks.

pairwise uses the pairwise sum (fast, default)

fsum uses Python's fsum function (most accurate)

kahan uses kahan correction

neumaier uses Neumaier correction

c uses no correction, bud default/native summing

Value

nothing