MCPcopy Index your code
hub / github.com/immutable-js/immutable-js / sq

Function sq

resources/benchmark.js:241–243  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

239 console.log(' diff: ' + pct(diffMean));
240
241 function sq(p) {
242 return p * p;
243 }
244
245 var rme = Math.sqrt(
246 (sq(stats[0].rme / 100) + sq(stats[1].rme / 100)) / 2

Callers 1

benchmark.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected