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

Function zero

deps/v8/test/mjsunit/math-abs.js:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28// Flags: --max-semi-space-size=1 --allow-natives-syntax
29
30function zero() {
31 var x = 0.5;
32 return (function() { return x - 0.5; })();
33}
34
35function test() {
36 assertEquals(0, Math.abs(0));

Callers 1

testFunction · 0.70

Calls

no outgoing calls

Tested by 1

testFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…