MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / st

Function st

benchmarks/audit/wester.ts:413–413  ·  view source on GitHub ↗
(res: any)

Source from the content-addressed store, hash-verified

411 for (let i = 0; i < a.length; i++) if (a[i] != null && b[i] != null && b[i] !== 0) ratios.push(a[i] / b[i]);
412 return ratios.length >= 2 && ratios.every((r) => Math.abs(r - ratios[0]) <= 1e-6 * (1 + Math.abs(ratios[0])));
413};
414const rows = cases.map((c) => {
415 const ref = refSamples(c);
416 const ceRes = runOn(ce, c);

Callers 1

wester.tsFile · 0.85

Calls 1

gcdSolvedFunction · 0.85

Tested by

no test coverage detected