UNPKG

flo-poly

Version:

A practical, root-focused JavaScript polynomial utility library.

15 lines (8 loc) 231 B
const u = Number.EPSILON / 2; // cache standard error bound units consts: number[] = []; /** @internal */ function γs(n: number): number { return _γs[n] || ((1 + u) * (n*u / (1 - n*u))); } export { γs }