MCPcopy Index your code
hub / github.com/nodejs/node / testExp

Function testExp

deps/v8/test/mjsunit/maglev/optimize-float64-ieee754.js:60–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58testCos();
59
60function testExp() {
61 function cst() { return 0; }
62 function f() { return Math.exp(cst()); }
63 %PrepareFunctionForOptimization(cst);
64 %PrepareFunctionForOptimization(f);
65 f();
66 %OptimizeMaglevOnNextCall(f);
67 assertEquals(1.0, f());
68}
69testExp();
70
71function testLog() {

Callers 1

Calls 3

cstFunction · 0.70
fFunction · 0.70
assertEqualsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…