Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ test_id
Function
test_id
deps/v8/test/mjsunit/es6/math-hyperbolic.js:45–47 ·
view source on GitHub ↗
(fun, rev, value)
Source
from the content-addressed store, hash-verified
43
44
45
function
test_id(fun, rev, value) {
46
assertEqualsDelta(1, rev(fun(value))/value, 1E-7);
47
}
48
49
[Math.PI, 2, 5, 1E-5, 0.3].forEach(
function
(x) {
50
test_id(Math.sinh, Math.asinh, x);
Callers
1
math-hyperbolic.js
File · 0.85
Calls
1
fun
Function · 0.50
Tested by
no test coverage detected