Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ abs_error
Function
abs_error
deps/v8/test/mjsunit/sin-cos.js:113–115 ·
view source on GitHub ↗
(fun, ref, x)
Source
from the content-addressed store, hash-verified
111
}
112
113
function
abs_error(fun, ref, x) {
114
return
Math.abs(ref(x) - fun(x));
115
}
116
117
var
test_inputs = [];
118
for
(
var
i = -10000; i < 10000; i += 177) test_inputs.push(i/1257);
Callers
1
sin-cos.js
File · 0.85
Calls
2
fun
Function · 0.70
ref
Function · 0.50
Tested by
no test coverage detected