MCPcopy Create free account
hub / github.com/d3/d3-array / constructor

Method constructor

src/fsum.js:3–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1// https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423
2export class Adder {
3 constructor() {
4 this._partials = new Float64Array(32);
5 this._n = 0;
6 }
7 add(x) {
8 const p = this._partials;
9 let i = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected