UNPKG

double-double

Version:

Pure double-double precision functions *with strict error bounds*.

11 lines (10 loc) 356 B
/** * Returns the result of multiplying together an array of double-double-precision * floating point numbers naively (i.e. not using pairwise addition to reduce * error a bit). * * * an error bound is given by: (n-1)(1+ϵ), * where ϵ <= 7u^2, u = 0.5 * Number.EPSILON */ declare function ddProduct(qs: number[][]): number[]; export { ddProduct };