Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cazala/synaptic
/ equalWithError
Function
equalWithError
test/synaptic.js:50–52 ·
view source on GitHub ↗
(output, expected, error)
Source
from the content-addressed store, hash-verified
48
}
49
50
function
equalWithError(output, expected, error) {
51
return
Math.abs(output - expected) <= error;
52
}
53
54
// specs
55
Callers
1
synaptic.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected