Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
308
export
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
settleIsReal
Function · 0.85
reliableLimitSamples
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected