Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cortex-js/compute-engine
/ chop
Function
chop
src/compute-engine/numerics/numeric.ts:230–233 ·
view source on GitHub ↗
(n: number, tolerance = DEFAULT_TOLERANCE)
Source
from the content-addressed store, hash-verified
228
[1, 2],
229
[1, 3],
230
[2, 1],
231
[1, 5],
232
[1, 6],
233
[1, 7],
234
[2, 2],
// √8 = 2√2
235
[3, 1],
236
[1, 10],
Callers
nothing calls this directly
Calls
1
abs
Method · 0.65
Tested by
no test coverage detected