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

Function testLog

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

Source from the content-addressed store, hash-verified

69testExp();
70
71function testLog() {
72 function cst() { return 1; }
73 function f() { return Math.log(cst()); }
74 %PrepareFunctionForOptimization(cst);
75 %PrepareFunctionForOptimization(f);
76 f();
77 %OptimizeMaglevOnNextCall(f);
78 assertEquals(0.0, f());
79}
80testLog();
81
82function testSin() {

Callers 1

Calls 4

cstFunction · 0.70
fFunction · 0.70
assertEqualsFunction · 0.50
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…