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

Function arg

src/compute-engine/numerics/numeric.ts:308–308  ·  view source on GitHub ↗
(h: number)

Source from the content-addressed store, hash-verified

306}
307
308export function chop(n: number, tolerance = DEFAULT_TOLERANCE): 0 | number {
309 if (typeof n === 'number' && Math.abs(n) <= tolerance) return 0;
310 return n;
311}

Callers 2

settleIsRealFunction · 0.85
reliableLimitSamplesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected