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

Function testSin

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

Source from the content-addressed store, hash-verified

80testLog();
81
82function testSin() {
83 function f() { return Math.sin(Math.PI / 2); }
84 %PrepareFunctionForOptimization(f);
85 f();
86 %OptimizeMaglevOnNextCall(f);
87 assertEquals(1.0, f());
88}
89testSin();
90
91function testTan() {

Callers 1

Calls 2

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…