MCPcopy Create free account
hub / github.com/breck7/scroll / transformSqrt

Function transformSqrt

external/.d3.js:15383–15385  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

15381}
15382
15383function transformSqrt(x) {
15384 return x < 0 ? -Math.sqrt(-x) : Math.sqrt(x);
15385}
15386
15387function transformSquare(x) {
15388 return x < 0 ? -x * x : x * x;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected